feat: telegram bot TelegramSettings && webhook (#244)

* feat: telegram bot TelegramSettings

* feat: webhook
This commit is contained in:
Dream Hunter
2024-05-18 14:02:18 +08:00
committed by GitHub
parent 53a06fc9d6
commit ca00a877ad
32 changed files with 777 additions and 112 deletions

View File

@@ -1,5 +1,5 @@
export const CONSTANTS = {
VERSION: 'v0.4.2',
VERSION: 'v0.4.3',
// DB settings
ADDRESS_BLOCK_LIST_KEY: 'address_block_list',
@@ -8,5 +8,8 @@ export const CONSTANTS = {
USER_SETTINGS_KEY: 'user_settings',
// KV
TG_KV_PREFIX: "temp-mail-telegram"
TG_KV_PREFIX: "temp-mail-telegram",
TG_KV_SETTINGS_KEY: "temp-mail-telegram-settings",
WEBHOOK_KV_SETTINGS_KEY: "temp-mail-webhook-settings",
WEBHOOK_KV_USER_SETTINGS_KEY: "temp-mail-webhook-user-settings",
}