mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 15:04:38 +03:00
feat: contextmessageupdate backward compatibility
This commit is contained in:
parent
6361e537aa
commit
62bdbd77e5
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user