Files
openclaw/src/telegram
hsrvc ac45c8b404 fix: preserve Telegram topic (message_thread_id) in sub-agent announcements
When native slash commands are executed in Telegram topics/forums, the
originating topic context was not being preserved. This caused sub-agent
announcements to be delivered to the wrong topic.

Root cause: Native slash command context did not set OriginatingChannel
and OriginatingTo, causing session delivery context to fallback to the
user's personal ID instead of the group ID + topic.

Fix: Added OriginatingChannel and OriginatingTo to native slash command
context, ensuring topic information is preserved for sub-agent announcements.

Related session fields:
- lastThreadId: preserved via MessageThreadId
- lastTo: now correctly set to group ID via OriginatingTo
- deliveryContext: includes threadId for proper routing
2026-01-24 12:26:29 +00:00
..
2026-01-19 00:34:26 +00:00
2026-01-14 15:02:19 +00:00
2026-01-24 03:39:25 +00:00
2026-01-07 04:16:39 +01:00
2026-01-24 03:39:25 +00:00
2026-01-15 17:07:38 +00:00
2026-01-15 17:07:38 +00:00