mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-25 15:34:38 +03:00
9 lines
239 B
TypeScript
9 lines
239 B
TypeScript
import { Provider } from '@nestjs/common';
|
|
import { Scenes } from 'telegraf';
|
|
import { TELEGRAF_STAGE } from './telegraf.constants';
|
|
|
|
export const telegrafStageProvider: Provider = {
|
|
provide: TELEGRAF_STAGE,
|
|
useClass: Scenes.Stage,
|
|
};
|