openclaw/src/infra/outbound
Clawdbot c5267396a4 fix(telegram): inject toolContext threadId into message tool params
When using the message tool in a Telegram DM with topics enabled,
media and text were sent to the General topic instead of the current
session topic. This happened because toolContext.currentThreadTs was
not mapped to params.threadId before the Telegram plugin action
handler read it.

Now runMessageAction injects toolContext.currentThreadTs into
params.threadId when not explicitly provided, ensuring messages
land in the correct topic.

Fixes #2777
2026-01-27 14:55:50 +01:00
..
agent-delivery.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-delivery.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
channel-adapters.ts refactor: centralize outbound policy + target schema 2026-01-17 03:33:56 +00:00
channel-selection.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
channel-target.ts refactor: centralize target normalization 2026-01-17 06:45:11 +00:00
deliver.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
deliver.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directory-cache.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
envelope.test.ts refactor: unify outbound result envelopes 2026-01-07 02:36:05 +00:00
envelope.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
format.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
format.ts refactor: migrate messaging plugins to sdk 2026-01-18 08:54:00 +00:00
message-action-runner.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
message-action-runner.threading.test.ts fix(telegram): inject toolContext threadId into message tool params 2026-01-27 14:55:50 +01:00
message-action-runner.ts fix(telegram): inject toolContext threadId into message tool params 2026-01-27 14:55:50 +01:00
message-action-spec.ts feat(telegram): add sticker support with vision caching 2026-01-27 12:47:23 +05:30
message.test.ts refactor: migrate messaging plugins to sdk 2026-01-18 08:54:00 +00:00
message.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
outbound-policy.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
outbound-policy.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
outbound-send-service.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
outbound-session.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
outbound-session.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
payloads.test.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
payloads.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
target-errors.ts refactor: trim resolver exports 2026-01-17 07:36:09 +00:00
target-normalization.ts refactor: unify target resolver metadata 2026-01-17 07:34:26 +00:00
target-resolver.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
target-resolver.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
targets.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
targets.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00