picoclaw/pkg/channels/telegram
徐闻涵0668001344 7019143c8e fix(telegram): use compositeChatID in InboundContext.ChatID for forum topics
When handling inbound Telegram messages from forum topics, InboundContext.ChatID was set to the plain chat ID (without thread). This caused outbound messages to lose the thread routing, sending replies to the General topic instead of the specific forum topic — even though typing indicators correctly targeted the right thread because StartTyping received the compositeChatID.

The fix sets InboundContext.ChatID to compositeChatID (chatID/threadID format) for forum messages, matching the format already used for session routing and typing indicators. TopicID is still preserved as a redundant fallback for any path that strips the composite format.

Closes #3110
2026-06-16 20:43:37 +08:00
..
testdata feat: telegram use parse mode ModeMarkdownV2 instead of ModeHTML (#1018) 2026-03-18 21:29:21 +08:00
command_registration.go Feat(channels): unify animated tool feedback across chat channels and Pico (#2622) 2026-04-23 10:35:50 +08:00
command_registration_test.go Feat(channels): unify animated tool feedback across chat channels and Pico (#2622) 2026-04-23 10:35:50 +08:00
init.go refactor(config): make config.Channel to multiple instance support 2026-04-13 22:21:21 +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): preserve raw OAuth links in HTML rendering 2026-04-12 10:44:09 +02:00
parser_markdown_to_html_test.go fix(tool-feedback): format tool args as JSON code blocks 2026-04-24 18:07:48 +02:00
telegram.go fix(telegram): use compositeChatID in InboundContext.ChatID for forum topics 2026-06-16 20:43:37 +08: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 Feat(channels): unify animated tool feedback across chat channels and Pico (#2622) 2026-04-23 10:35:50 +08:00
telegram_test.go fix(telegram): use compositeChatID in InboundContext.ChatID for forum topics 2026-06-16 20:43:37 +08:00