picoclaw/pkg/channels/telegram
Guoguo 1265655ef0
feat(telegram): add base_url support for custom Telegram Bot API server (#1021)
* feat(telegram): add base_url support for custom Telegram Bot API server

Allow users to specify a custom Telegram Bot API server URL via
config field `base_url` or env var `PICOCLAW_CHANNELS_TELEGRAM_BASE_URL`.
Defaults to the official https://api.telegram.org when left empty.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(telegram): trim whitespace and trailing slash from base_url

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 17:27:57 +08:00
..
init.go refactor(channels): add channel subpackages and update gateway imports 2026-02-20 23:25:44 +08:00
telegram.go feat(telegram): add base_url support for custom Telegram Bot API server (#1021) 2026-03-03 17:27:57 +08:00
telegram_commands.go Update config file reference from config.yaml to config.json 2026-02-28 00:36:39 +08:00