mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-28 00:28:10 +03:00
43816099a6
This reverts commit 2d23eba148
.
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,
|
|
};
|