diff --git a/lib/interfaces/context.interface.ts b/lib/interfaces/context.interface.ts index b529df0..418bbac 100644 --- a/lib/interfaces/context.interface.ts +++ b/lib/interfaces/context.interface.ts @@ -3,3 +3,9 @@ import { TelegrafContext } from 'telegraf/typings/context'; 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 {}