mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-09-23 17:59:06 +03:00
fix(): module work restored
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { SceneContext, Telegraf } from 'telegraf';
|
||||
import { Telegraf } from 'telegraf';
|
||||
import { Command, Help, InjectBot, On, Start, Update } from '../lib';
|
||||
import { EchoService } from './echo.service';
|
||||
import { HELLO_SCENE_ID } from './app.constants';
|
||||
@@ -8,7 +8,7 @@ import { Context } from './interfaces/context.interface';
|
||||
export class AppUpdate {
|
||||
constructor(
|
||||
@InjectBot()
|
||||
private readonly bot: Telegraf<SceneContext>,
|
||||
private readonly bot: Telegraf<any>, // TODO: fix any
|
||||
private readonly echoService: EchoService,
|
||||
) {}
|
||||
|
||||
|
Reference in New Issue
Block a user