feat(): add middleware support & refactor

This commit is contained in:
Arthur
2020-12-30 01:49:09 +03:00
parent 306f239603
commit 3e585859d0
35 changed files with 105 additions and 81 deletions

View File

@@ -1,6 +1,4 @@
import { UpdateMethods } from '../telegraf.types';
export interface ListenerMetadata {
method: UpdateMethods;
method: string;
args: unknown[];
}