mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-26 15:58:09 +03:00
6 lines
160 B
TypeScript
6 lines
160 B
TypeScript
|
import { ContextMessageUpdate } from 'telegraf'
|
||
|
|
||
|
export interface TelegramErrorHandler<E = any> {
|
||
|
catch(ctx: ContextMessageUpdate, error: E): Promise<void>
|
||
|
}
|