nestjs-telegraf/lib/interfaces/context.interface.ts

12 lines
308 B
TypeScript
Raw Normal View History

2020-09-10 12:52:46 +03:00
import { Context as TelegrafContext } from 'telegraf';
export interface Context extends TelegrafContext {
[key: string]: any;
}
/**
* Removed type from Telegraf v3.38.0, added for backward compatibility.
* TODO: remove on next major release
*/
export interface ContextMessageUpdate extends Context {}