2024-07-29 17:26:39 +08:00
|
|
|
additionalProperties:
|
|
|
|
|
formFields:
|
2025-09-04 00:36:13 +08:00
|
|
|
- default: "./data"
|
2024-07-29 17:26:39 +08:00
|
|
|
edit: true
|
|
|
|
|
envKey: TELEGRAM_BOT_API_ROOT_PATH
|
|
|
|
|
labelZh: 数据持久化路径
|
|
|
|
|
labelEn: Data persistence path
|
2025-11-06 23:35:02 +08:00
|
|
|
label:
|
|
|
|
|
en: Data persistence path
|
|
|
|
|
zh: 数据持久化路径
|
2024-07-29 17:26:39 +08:00
|
|
|
required: true
|
|
|
|
|
type: text
|
|
|
|
|
- default: 8082
|
|
|
|
|
edit: true
|
|
|
|
|
envKey: PANEL_APP_PORT_HTTP
|
|
|
|
|
labelZh: API 端口
|
|
|
|
|
labelEn: API port
|
2025-11-06 23:35:02 +08:00
|
|
|
label:
|
|
|
|
|
en: API port
|
|
|
|
|
zh: API 端口
|
2024-07-29 17:26:39 +08:00
|
|
|
required: true
|
|
|
|
|
rule: paramPort
|
|
|
|
|
type: number
|
|
|
|
|
- default: 8081
|
|
|
|
|
edit: true
|
|
|
|
|
envKey: PANEL_APP_PORT_HTTPS
|
|
|
|
|
labelZh: API 端口 (HTTPS)
|
|
|
|
|
labelEn: API port (HTTPS)
|
2025-11-06 23:35:02 +08:00
|
|
|
label:
|
|
|
|
|
en: API port (HTTPS)
|
|
|
|
|
zh: API 端口 (HTTPS)
|
2024-07-29 17:26:39 +08:00
|
|
|
required: true
|
|
|
|
|
rule: paramPort
|
|
|
|
|
type: number
|
|
|
|
|
- default: ""
|
|
|
|
|
edit: true
|
|
|
|
|
envKey: TELEGRAM_API_ID
|
|
|
|
|
labelZh: Telegram Bot 应用 ID
|
|
|
|
|
labelEn: Telegram Bot Application ID
|
2025-11-06 23:35:02 +08:00
|
|
|
label:
|
|
|
|
|
en: Telegram Bot Application ID
|
|
|
|
|
zh: Telegram Bot 应用 ID
|
2024-07-29 17:26:39 +08:00
|
|
|
required: true
|
|
|
|
|
type: text
|
|
|
|
|
- default: ""
|
|
|
|
|
edit: true
|
|
|
|
|
envKey: TELEGRAM_API_HASH
|
|
|
|
|
labelZh: Telegram Bot 应用 Hash
|
|
|
|
|
labelEn: Telegram Bot Application Hash
|
2025-11-06 23:35:02 +08:00
|
|
|
label:
|
|
|
|
|
en: Telegram Bot Application Hash
|
|
|
|
|
zh: Telegram Bot 应用 Hash
|
2024-07-29 17:26:39 +08:00
|
|
|
required: true
|
|
|
|
|
type: password
|
|
|
|
|
- default: ""
|
|
|
|
|
edit: true
|
|
|
|
|
envKey: TELEGRAM_PROXY
|
|
|
|
|
labelZh: 网络代理
|
|
|
|
|
labelEn: Network proxy
|
2025-11-06 23:35:02 +08:00
|
|
|
label:
|
|
|
|
|
en: Network proxy
|
|
|
|
|
zh: 网络代理
|
2024-07-29 17:26:39 +08:00
|
|
|
required: false
|
|
|
|
|
type: text
|