feat(channel): telegram first version

This commit is contained in:
zhayujie
2026-05-28 12:10:00 +08:00
parent f39380cea7
commit d106465419
11 changed files with 867 additions and 2 deletions

View File

@@ -2909,6 +2909,15 @@ class ChannelsHandler:
{"key": "wechatmp_port", "label": "Port", "type": "number", "default": 8080},
],
}),
("telegram", {
"label": {"zh": "Telegram", "en": "Telegram"},
"icon": "fa-paper-plane",
"color": "sky",
"fields": [
{"key": "telegram_token", "label": "Bot Token", "type": "secret"},
{"key": "telegram_proxy", "label": "Proxy (optional)", "type": "text"},
],
}),
])
@staticmethod