mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2026-10-14 10:17:07 +03:00
feat: add initial code
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { ContextMessageUpdate } from 'telegraf'
|
||||
|
||||
export interface TelegramErrorHandler<E = any> {
|
||||
catch(ctx: ContextMessageUpdate, error: E): Promise<void>
|
||||
}
|
||||
Reference in New Issue
Block a user