Christian Klotz
ddedb56c01
fix(telegram): pass parentPeer for forum topic binding inheritance ( #9789 )
...
Fixes #9545 and #9351 .
When a message comes from a Telegram forum topic, the peer ID includes
the topic suffix (e.g., `-1001234567890:topic:99`). Users configure
bindings with the base group ID, which previously did not match.
This adds `parentPeer` to `resolveAgentRoute()` calls for forum groups,
enabling binding inheritance from the parent group to all topics.
- Extract `buildTelegramParentPeer()` helper in bot/helpers.ts
- Pass parentPeer in bot-message-context.ts, bot-handlers.ts,
bot-native-commands.ts, and bot.ts (reaction handler)
- Add tests for forum topic routing and topic precedence
2026-02-05 18:25:03 +00:00
..
2026-02-05 18:25:03 +00:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-01-15 17:20:17 +00:00
2026-02-01 10:03:47 +09:00
2026-01-14 15:02:19 +00:00
2026-01-31 16:19:20 +09:00
2026-01-31 16:19:20 +09:00
2026-02-05 18:25:03 +00:00
2026-02-01 10:03:47 +09:00
2026-02-05 15:33:30 +05:30
2026-02-01 10:03:47 +09:00
2026-02-05 18:25:03 +00:00
2026-02-04 16:16:34 -05:00
2026-02-04 22:35:51 +00:00
2026-01-21 00:30:34 +00:00
2026-02-05 00:20:44 +00:00
2026-02-01 15:22:37 +05:30
2026-02-01 10:03:47 +09:00
2026-02-05 18:25:03 +00:00
2026-02-04 10:09:28 +00:00
2026-02-01 22:23:16 +00:00
2026-02-01 22:23:16 +00:00
2026-02-01 22:23:16 +00:00
2026-02-01 22:23:16 +00:00
2026-02-01 22:23:16 +00:00
2026-02-01 22:23:16 +00:00
2026-02-01 22:23:16 +00:00
2026-02-05 18:25:03 +00:00
2026-02-01 22:23:16 +00:00
2026-02-03 14:27:39 -08:00
2026-02-01 15:22:37 +05:30
2026-02-04 22:35:51 +00:00
2026-02-05 18:25:03 +00:00
2026-01-17 03:50:09 +00:00
2026-02-01 10:03:47 +09:00
2026-02-02 13:39:39 +05:30
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-02 16:18:09 +09:00
2026-02-02 09:26:59 +05:30
2026-01-30 03:16:21 +01:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-01-07 04:16:39 +01:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-02-04 09:23:17 +05:30
2026-02-04 09:23:17 +05:30
2026-02-01 10:03:47 +09:00
2026-02-02 15:25:41 +00:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-02 22:37:22 +00:00
2026-02-02 22:37:22 +00:00
2026-01-18 01:08:47 +00:00
2026-01-30 14:38:39 +05:30
2026-02-04 04:09:53 -08:00
2026-02-01 10:03:47 +09:00
2026-01-30 03:16:21 +01:00
2026-01-26 19:36:43 -05:00
2026-01-26 15:34:47 -08:00
2026-01-26 19:36:43 -05:00
2026-01-26 19:36:43 -05:00
2026-02-01 22:23:16 +00:00
2026-02-02 09:26:59 +05:30
2026-01-15 17:07:38 +00:00
2026-01-31 16:19:20 +09:00
2026-01-30 03:16:21 +01:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-01-31 16:19:20 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00
2026-02-01 10:03:47 +09:00