nestjs-telegraf/lib/telegraf.constants.ts

25 lines
964 B
TypeScript
Raw Normal View History

2020-03-19 16:21:35 +03:00
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
2021-01-02 01:27:01 +03:00
export const TELEGRAF_BOT_NAME = 'TELEGRAF_BOT_NAME';
export const DEFAULT_BOT_NAME = 'DEFAULT_BOT_NAME';
2020-03-19 16:21:35 +03:00
export const DECORATORS_PREFIX = 'TELEGRAF';
export const DECORATORS = {
2020-03-19 16:34:44 +03:00
USE: `${DECORATORS_PREFIX}/USE`,
2020-03-19 16:21:35 +03:00
ON: `${DECORATORS_PREFIX}/ON`,
HEARS: `${DECORATORS_PREFIX}/HEARS`,
COMMAND: `${DECORATORS_PREFIX}/COMMAND`,
2020-03-19 16:21:35 +03:00
START: `${DECORATORS_PREFIX}/START`,
2020-03-19 16:44:05 +03:00
HELP: `${DECORATORS_PREFIX}/HELP`,
SETTINGS: `${DECORATORS_PREFIX}/SETTINGS`,
2020-03-19 16:54:34 +03:00
ENTITY: `${DECORATORS_PREFIX}/ENTITY`,
MENTION: `${DECORATORS_PREFIX}/MENTION`,
2020-03-19 17:02:37 +03:00
PHONE: `${DECORATORS_PREFIX}/PHONE`,
HASHTAG: `${DECORATORS_PREFIX}/HASHTAG`,
CASHTAG: `${DECORATORS_PREFIX}/CASHTAG`,
2020-03-19 17:20:13 +03:00
ACTION: `${DECORATORS_PREFIX}/ACTION`,
INLINE_QUERY: `${DECORATORS_PREFIX}/INLINE_QUERY`,
GAME_QUERY: `${DECORATORS_PREFIX}/GAME_QUERY`,
2020-08-14 01:21:33 +03:00
UPDATE: `${DECORATORS_PREFIX}/UPDATE`,
UPDATE_HOOK: `${DECORATORS_PREFIX}/UPDATE_HOOK`,
2020-03-19 16:21:35 +03:00
};