picoclaw/pkg/channels/telegram
Badgerbees b90a6d12ea fix(telegram): refine duplicate-message protection with narrow error classification
Addresses reviewer concerns regarding silent message loss by narrowing the
error swallowing logic in EditMessage:
- Excludes context.DeadlineExceeded and context.Canceled from being swallowed,
  ensuring local timeouts before transmission still trigger a fallback send.
- Adds an explicit check for the 'message is not modified' error to safely
  identify edits that have already landed on Telegram's servers.
- Narrowly targets confirmed post-connect dropouts (e.g., connection reset)
  instead of broad network-ish string matching.
- Fixes the missing isPostConnectError definition and required errors import.
2026-04-01 03:13:34 +07:00
..
testdata feat: telegram use parse mode ModeMarkdownV2 instead of ModeHTML (#1018) 2026-03-18 21:29:21 +08:00
command_registration.go feat(commands): centralized command registry with sub-command routing (#959) 2026-03-06 17:31:40 +08:00
command_registration_test.go feat(commands): centralized command registry with sub-command routing (#959) 2026-03-06 17:31:40 +08:00
init.go refactor(channels): add channel subpackages and update gateway imports 2026-02-20 23:25:44 +08:00
parse_markdown_to_md_v2.go feat: telegram use parse mode ModeMarkdownV2 instead of ModeHTML (#1018) 2026-03-18 21:29:21 +08:00
parse_markdown_to_md_v2_test.go feat: telegram use parse mode ModeMarkdownV2 instead of ModeHTML (#1018) 2026-03-18 21:29:21 +08:00
parser_markdown_to_html.go Fix Telegram HTML links broken by italic regex matching inside href URLs (#2164) 2026-03-31 11:46:06 +08:00
parser_markdown_to_html_test.go Fix Telegram HTML links broken by italic regex matching inside href URLs (#2164) 2026-03-31 11:46:06 +08:00
telegram.go fix(telegram): refine duplicate-message protection with narrow error classification 2026-04-01 03:13:34 +07:00
telegram_dispatch_test.go fix: Fixed the bug where the bus was closed and consumers had unfinished messages. (#1179) 2026-03-18 00:12:12 +08:00
telegram_group_command_filter_test.go fix: Fixed the bug where the bus was closed and consumers had unfinished messages. (#1179) 2026-03-18 00:12:12 +08:00
telegram_test.go feat(channels): make Channel.Send return delivered message IDs (#2190) 2026-03-31 11:07:32 +08:00