mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-25 15:34:38 +03:00
327 B
327 B
id | title | sidebar_label | slug |
---|---|---|---|
middlewares | Middlewares | Middlewares | /middlewares |
nestjs-telegraf
has support of the Telegraf middleware packages. To use an existing middleware package, simply import it and add it to the middlewares array:
TelegrafModule.forRoot({
middlewares: [session()],
}),