feat: add telegram proxy support and add error handling for channel startup

This commit is contained in:
alan
2026-02-07 20:37:41 +08:00
parent 625fc60282
commit 3166c15cff
3 changed files with 15 additions and 5 deletions

View File

@@ -104,6 +104,8 @@ class TelegramChannel(BaseChannel):
self._app = (
Application.builder()
.token(self.config.token)
.proxy(self.config.proxy)
.get_updates_proxy(self.config.proxy)
.build()
)