mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-09-23 09:49:06 +03:00
feat: upgrade telegraf package to the latest version
This commit is contained in:
5
lib/interfaces/context.interface.ts
Normal file
5
lib/interfaces/context.interface.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { TelegrafContext } from 'telegraf/typings/context';
|
||||
|
||||
export interface Context extends TelegrafContext {
|
||||
[key: string]: any;
|
||||
}
|
@@ -1,2 +1,2 @@
|
||||
export { ContextMessageUpdate } from 'telegraf';
|
||||
export * from './context.interface';
|
||||
export * from './telegraf-options.interface';
|
||||
|
@@ -3,7 +3,7 @@ import {
|
||||
TelegrafOptions,
|
||||
LaunchPollingOptions,
|
||||
LaunchWebhookOptions,
|
||||
} from 'telegraf';
|
||||
} from 'telegraf/typings/telegraf';
|
||||
|
||||
export interface TelegrafModuleOptions {
|
||||
token: string;
|
||||
|
Reference in New Issue
Block a user