openclaw/src/channels
Joshua Mitchell ce60c6db1b feat(telegram): implement sendPayload for channelData support
Add sendPayload handler to Telegram outbound adapter to support
channel-specific data via the channelData pattern. This enables
features like inline keyboard buttons without custom ReplyPayload fields.

Implementation:
- Extract telegram.buttons from payload.channelData
- Pass buttons to sendMessageTelegram (already supports this)
- Follows existing sendText/sendMedia patterns
- Completes optional ChannelOutboundAdapter.sendPayload interface

This enables plugins to send Telegram-specific features (buttons, etc.)
using the standard channelData envelope pattern instead of custom fields.

Related: delivery system in src/infra/outbound/deliver.ts:324 already
checks for sendPayload handler and routes accordingly.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-26 22:28:14 +05:30
..
allowlists refactor(channels): share allowlist + resolver helpers 2026-01-18 01:00:25 +00:00
plugins feat(telegram): implement sendPayload for channelData support 2026-01-26 22:28:14 +05:30
web refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
ack-reactions.test.ts refactor: centralize ack reaction removal 2026-01-23 23:32:14 +00:00
ack-reactions.ts refactor: centralize ack reaction removal 2026-01-23 23:32:14 +00:00
allowlist-match.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
channel-config.test.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
channel-config.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
chat-type.test.ts refactor: drop legacy room chatType 2026-01-17 05:46:40 +00:00
chat-type.ts refactor: drop legacy room chatType 2026-01-17 05:46:40 +00:00
command-gating.test.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
command-gating.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
conversation-label.test.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
conversation-label.ts refactor: prune room legacy 2026-01-17 07:41:24 +00:00
dock.ts feat: add beta googlechat channel 2026-01-24 23:30:45 +00:00
location.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
location.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
logging.ts refactor: standardize channel logging 2026-01-23 23:34:30 +00:00
mention-gating.test.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
mention-gating.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
registry.test.ts feat: add beta googlechat channel 2026-01-24 23:30:45 +00:00
registry.ts feat: add beta googlechat channel 2026-01-24 23:30:45 +00:00
reply-prefix.ts refactor: share reply prefix context 2026-01-23 23:34:30 +00:00
sender-identity.test.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
sender-identity.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
sender-label.ts fix: unify inbound sender labels 2026-01-17 05:21:09 +00:00
session.ts refactor: centralize inbound session updates 2026-01-23 23:33:32 +00:00
targets.test.ts fix: normalize gateway dev mode detection 2026-01-18 01:08:47 +00:00
targets.ts refactor(channels): unify target parsing 2026-01-18 00:31:42 +00:00
typing.test.ts test: cover typing and history helpers 2026-01-23 23:34:30 +00:00
typing.ts fix: stabilize typing + summary merge 2026-01-23 23:34:30 +00:00