refactor(): reply switch with dynamic telegraf method call

This commit is contained in:
unknown
2020-12-26 23:19:30 +03:00
parent f10df2e960
commit 36f67ce29d
29 changed files with 106 additions and 284 deletions

View File

@@ -1 +1 @@
export * from './listener-type.enum';
export * from './listener-menthod.enum';

View File

@@ -1,4 +1,4 @@
export enum ListenerType {
export enum ListenerMethod {
Use = 'use',
On = 'on',
Hears = 'hears',

View File

@@ -0,0 +1,5 @@
export enum UpdateParamtypes {
CONTEXT,
NEXT,
MESSAGE,
}