feat: add initial code

This commit is contained in:
Igor Kamyshev
2019-02-28 10:29:26 +02:00
commit 4324f0f1cf
20 changed files with 5033 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import { ContextMessageUpdate } from 'telegraf'
export interface TelegramErrorHandler<E = any> {
catch(ctx: ContextMessageUpdate, error: E): Promise<void>
}