nestjs-telegraf/lib/interfaces/context.interface.ts
2021-01-02 02:00:10 +03:00

12 lines
320 B
TypeScript

import { TelegrafContext } from 'telegraf/typings/context';
export interface Context extends TelegrafContext {
[key: string]: any; // TBD
}
/**
* Removed type from Telegraf v3.38.0, added for backward compatibility.
* TODO: remove on next major release
*/
export interface ContextMessageUpdate extends Context {}