coderclaw messageSingle outbound command for sending messages and channel actions (Discord/Google Chat/Slack/Mattermost (plugin)/Telegram/WhatsApp/Signal/iMessage/MS Teams).
coderclaw message <subcommand> [flags]
Channel selection:
--channel required if more than one channel is configured.whatsapp|telegram|discord|googlechat|slack|mattermost|signal|imessage|msteams (Mattermost requires plugin)Target formats (--target):
@usernamechannel:<id> or user:<id> (or <@id> mention; raw numeric ids are treated as channels)spaces/<spaceId> or users/<userId>channel:<id> or user:<id> (raw channel id is accepted)channel:<id>, user:<id>, or @username (bare ids are treated as channels)+E.164, group:<id>, signal:+E.164, signal:group:<id>, or username:<name>/u:<name>chat_id:<id>, chat_guid:<guid>, or chat_identifier:<id>19:[email protected]) or conversation:<id> or user:<aad-object-id>Name lookup:
Help or #help are resolved via the directory cache.--channel <name>--account <id>--target <dest> (target channel or user for send/poll/read/etc)--targets <name> (repeat; broadcast only)--json--dry-run--verbosesend
--target, plus --message or --media--media, --reply-to, --thread-id, --gif-playback--buttons (requires channels.telegram.capabilities.inlineButtons to allow it)--thread-id (forum topic id)--thread-id (thread timestamp; --reply-to uses the same field)--gif-playbackpoll
--target, --poll-question, --poll-option (repeat)--poll-multi--poll-duration-hours, --silent, --message--poll-duration-seconds (5-600), --silent, --poll-anonymous / --poll-public, --thread-idreact
--message-id, --target--emoji, --remove, --participant, --from-me, --target-author, --target-author-uuid--remove requires --emoji (omit --emoji to clear own reactions where supported; see /tools/reactions)--participant, --from-me--target-author or --target-author-uuid requiredreactions
--message-id, --target--limitread
--target--limit, --before, --after--aroundedit
--message-id, --message, --targetdelete
--message-id, --targetpin / unpin
--message-id, --targetpins (list)
--targetpermissions
--targetsearch
--guild-id, --query--channel-id, --channel-ids (repeat), --author-id, --author-ids (repeat), --limitthread create
--thread-name, --target (channel id)--message-id, --message, --auto-archive-minthread list
--guild-id--channel-id, --include-archived, --before, --limitthread reply
--target (thread id), --message--media, --reply-toemoji list
--guild-idemoji upload
--guild-id, --emoji-name, --media--role-ids (repeat)sticker send
--target, --sticker-id (repeat)--messagesticker upload
--guild-id, --sticker-name, --sticker-desc, --sticker-tags, --mediarole info (Discord): --guild-idrole add / role remove (Discord): --guild-id, --user-id, --role-idchannel info (Discord): --targetchannel list (Discord): --guild-idmember info (Discord/Slack): --user-id (+ --guild-id for Discord)voice status (Discord): --guild-id, --user-idevent list (Discord): --guild-idevent create (Discord): --guild-id, --event-name, --start-time
--end-time, --desc, --channel-id, --location, --event-typetimeout: --guild-id, --user-id (optional --duration-min or --until; omit both to clear timeout)kick: --guild-id, --user-id (+ --reason)ban: --guild-id, --user-id (+ --delete-days, --reason)
timeout also supports --reasonbroadcast
--channel all to target all providers--targets (repeat)--message, --media, --dry-runSend a Discord reply:
coderclaw message send --channel discord \
--target channel:123 --message "hi" --reply-to 456
Send a Discord message with components:
coderclaw message send --channel discord \
--target channel:123 --message "Choose:" \
--components '{"text":"Choose a path","blocks":[{"type":"actions","buttons":[{"label":"Approve","style":"success"},{"label":"Decline","style":"danger"}]}]}'
See Discord components for the full schema.
Create a Discord poll:
coderclaw message poll --channel discord \
--target channel:123 \
--poll-question "Snack?" \
--poll-option Pizza --poll-option Sushi \
--poll-multi --poll-duration-hours 48
Create a Telegram poll (auto-close in 2 minutes):
coderclaw message poll --channel telegram \
--target @mychat \
--poll-question "Lunch?" \
--poll-option Pizza --poll-option Sushi \
--poll-duration-seconds 120 --silent
Send a Teams proactive message:
coderclaw message send --channel msteams \
--target conversation:19:[email protected] --message "hi"
Create a Teams poll:
coderclaw message poll --channel msteams \
--target conversation:19:[email protected] \
--poll-question "Lunch?" \
--poll-option Pizza --poll-option Sushi
React in Slack:
coderclaw message react --channel slack \
--target C123 --message-id 456 --emoji "✅"
React in a Signal group:
coderclaw message react --channel signal \
--target signal:group:abc123 --message-id 1737630212345 \
--emoji "✅" --target-author-uuid 123e4567-e89b-12d3-a456-426614174000
Send Telegram inline buttons:
coderclaw message send --channel telegram --target @mychat --message "Choose:" \
--buttons '[ [{"text":"Yes","callback_data":"cmd:yes"}], [{"text":"No","callback_data":"cmd:no"}] ]'