openclaw-matrix-multiaccounts/src/telegram
Developer 65e2d939e1 fix(telegram): use configured proxy for outbound API calls
The proxy configuration (`channels.telegram.proxy`) was only used for
the gateway monitor (polling), but not for outbound sends (sendMessage,
reactMessage, deleteMessage). This caused outbound messages to bypass
the configured proxy, which is problematic for users behind corporate
proxies or those who want to route all traffic through a specific proxy.

This change ensures that all three outbound functions use the same
proxy configuration as the monitor:
- sendMessageTelegram
- reactMessageTelegram
- deleteMessageTelegram

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 11:41:54 +00:00
..
bot feat(telegram): add linkPreview config option 2026-01-25 06:00:05 +00:00
accounts.test.ts fix: align channel config schemas and env precedence 2026-01-17 00:43:05 +00:00
accounts.ts CLI: streamline startup paths and env parsing 2026-01-18 23:10:39 +00:00
allowed-updates.ts fix: refine telegram reactions (#964) (thanks @bohdanpodvirnyi) 2026-01-15 17:20:17 +00:00
audit.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
audit.ts fix: normalize gateway dev mode detection 2026-01-18 01:08:47 +00:00
bot-access.ts fix: stabilize ci checks 2026-01-19 00:34:26 +00:00
bot-handlers.ts fix(telegram): answer callback queries immediately to prevent retries 2026-01-21 03:04:28 +00:00
bot-message-context.dm-threads.test.ts Telegram: threaded conversation support (#1597) 2026-01-25 04:48:51 +00:00
bot-message-context.sender-prefix.test.ts fix(auth): skip auth profiles in cooldown during selection and rotation 2026-01-23 03:28:18 +00:00
bot-message-context.ts Telegram: threaded conversation support (#1597) 2026-01-25 04:48:51 +00:00
bot-message-dispatch.ts feat(telegram): add linkPreview config option 2026-01-25 06:00:05 +00:00
bot-message.test.ts fix: emit diagnostics across channels 2026-01-21 00:30:34 +00:00
bot-message.ts fix: emit diagnostics across channels 2026-01-21 00:30:34 +00:00
bot-native-commands.ts feat(telegram): add linkPreview config option 2026-01-25 06:00:05 +00:00
bot-updates.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
bot.create-telegram-bot.accepts-group-messages-mentionpatterns-match-without-botusername.test.ts test: cover explicit mention gating across channels 2026-01-24 11:09:33 +00:00
bot.create-telegram-bot.applies-topic-skill-filters-system-prompts.test.ts fix: unify inbound dispatch pipeline 2026-01-23 22:58:54 +00:00
bot.create-telegram-bot.blocks-all-group-messages-grouppolicy-is.test.ts fix: unify inbound dispatch pipeline 2026-01-23 22:58:54 +00:00
bot.create-telegram-bot.dedupes-duplicate-callback-query-updates-by-update.test.ts fix: unify inbound dispatch pipeline 2026-01-23 22:58:54 +00:00
bot.create-telegram-bot.installs-grammy-throttler.test.ts fix: normalize telegram fetch for long-polling 2026-01-24 21:58:42 +00:00
bot.create-telegram-bot.matches-tg-prefixed-allowfrom-entries-case-insensitively.test.ts fix: unify inbound dispatch pipeline 2026-01-23 22:58:54 +00:00
bot.create-telegram-bot.matches-usernames-case-insensitively-grouppolicy-is.test.ts fix: unify inbound dispatch pipeline 2026-01-23 22:58:54 +00:00
bot.create-telegram-bot.routes-dms-by-telegram-accountid-binding.test.ts fix: render Telegram media captions 2026-01-24 03:39:25 +00:00
bot.create-telegram-bot.sends-replies-without-native-reply-threading.test.ts fix: unify inbound dispatch pipeline 2026-01-23 22:58:54 +00:00
bot.media.downloads-media-file-path-no-file-download.test.ts test: harden onboarding/discord/telegram test setup 2026-01-23 06:38:16 +00:00
bot.media.includes-location-text-ctx-fields-pins.test.ts test: stabilize slow and flaky tests 2026-01-16 06:24:58 +00:00
bot.test.ts Telegram: threaded conversation support (#1597) 2026-01-25 04:48:51 +00:00
bot.ts Telegram: threaded conversation support (#1597) 2026-01-25 04:48:51 +00:00
caption.ts refactor: share telegram caption splitting 2026-01-17 03:50:09 +00:00
download.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
download.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
draft-chunking.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
draft-chunking.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
draft-stream.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
fetch.test.ts fix: normalize telegram fetch for long-polling 2026-01-24 21:58:42 +00:00
fetch.ts fix: normalize telegram fetch for long-polling 2026-01-24 21:58:42 +00:00
format.test.ts fix: telegram html formatting (#435, thanks @RandyVentures) 2026-01-08 02:34:32 +01:00
format.ts fix: render Telegram media captions 2026-01-24 03:39:25 +00:00
group-migration.test.ts fix(telegram): migrate group config on supergroup IDs (#906) 2026-01-15 01:10:30 +00:00
group-migration.ts Format: fix report + telegram formatting 2026-01-15 01:27:16 +00:00
index.ts feat: unify provider reaction tools 2026-01-07 04:16:39 +01:00
inline-buttons.test.ts refactor: prune legacy group targets 2026-01-17 09:01:47 +00:00
inline-buttons.ts fix: allow telegram prefixes/topics for inline buttons (#1072) — thanks @danielz1z 2026-01-17 07:49:57 +00:00
monitor.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
monitor.ts refactor: centralize concurrency resolution 2026-01-20 10:41:56 +00:00
pairing-store.test.ts fix(security): lock down inbound DMs by default 2026-01-06 17:51:56 +01:00
pairing-store.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
probe.ts fix: normalize gateway dev mode detection 2026-01-18 01:08:47 +00:00
proxy.ts fix: normalize abort signals for telegram fetch 2026-01-21 16:46:58 +00:00
reaction-level.test.ts feat: default telegram reaction level minimal 2026-01-16 20:35:47 +00:00
reaction-level.ts feat: default telegram reaction level minimal 2026-01-16 20:35:47 +00:00
send.caption-split.test.ts fix: render Telegram media captions 2026-01-24 03:39:25 +00:00
send.preserves-thread-params-plain-text-fallback.test.ts fix: render Telegram media captions 2026-01-24 03:39:25 +00:00
send.returns-undefined-empty-input.test.ts fix(telegram): honor linkPreview on fallback (#1730) 2026-01-25 07:55:39 +00:00
send.ts fix(telegram): use configured proxy for outbound API calls 2026-01-25 11:41:54 +00:00
sent-message-cache.test.ts fix: lint errors 2026-01-15 17:07:38 +00:00
sent-message-cache.ts fix: lint errors 2026-01-15 17:07:38 +00:00
targets.test.ts refactor: prune legacy group targets 2026-01-17 09:01:47 +00:00
targets.ts refactor: prune legacy group targets 2026-01-17 09:01:47 +00:00
token.test.ts fix: prefer config tokens over env for discord/telegram 2026-01-16 23:13:00 +00:00
token.ts fix: prefer config tokens over env for discord/telegram 2026-01-16 23:13:00 +00:00
update-offset-store.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
update-offset-store.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
voice.test.ts refactor: consolidate reply/media helpers 2026-01-10 02:41:16 +01:00
voice.ts refactor: unify inline directives and media fetch 2026-01-10 03:01:04 +01:00
webhook-set.ts style(telegram): format bot init 2026-01-09 13:57:06 +01:00
webhook.test.ts fix: refine telegram reactions (#964) (thanks @bohdanpodvirnyi) 2026-01-15 17:20:17 +00:00
webhook.ts fix: emit diagnostics across channels 2026-01-21 00:30:34 +00:00