nestjs-telegraf/sample/01-complete-app/middleware/session.middleware.ts

4 lines
81 B
TypeScript

import { session } from 'telegraf';
export const sessionMiddleware = session();