docs: align channels naming

This commit is contained in:
Peter Steinberger
2026-01-13 06:51:20 +00:00
parent 993c1de361
commit 72a48c4992
12 changed files with 123 additions and 114 deletions

View File

@@ -1,13 +1,13 @@
---
summary: "CLI reference for `clawdbot message` (send + provider actions)"
summary: "CLI reference for `clawdbot message` (send + channel actions)"
read_when:
- Adding or modifying message CLI actions
- Changing outbound provider behavior
- Changing outbound channel behavior
---
# `clawdbot message`
Single outbound command for sending messages and provider actions
Single outbound command for sending messages and channel actions
(Discord/Slack/Telegram/WhatsApp/Signal/iMessage/MS Teams).
## Usage
@@ -16,9 +16,9 @@ Single outbound command for sending messages and provider actions
clawdbot message <subcommand> [flags]
```
Provider selection:
- `--provider` required if more than one provider is configured.
- If exactly one provider is configured, it becomes the default.
Channel selection:
- `--channel` required if more than one channel is configured.
- If exactly one channel is configured, it becomes the default.
- Values: `whatsapp|telegram|discord|slack|signal|imessage|msteams`
Target formats (`--to`):
@@ -32,7 +32,7 @@ Target formats (`--to`):
## Common flags
- `--provider <name>`
- `--channel <name>`
- `--account <id>`
- `--json`
- `--dry-run`
@@ -170,13 +170,13 @@ Target formats (`--to`):
Send a Discord reply:
```
clawdbot message send --provider discord \
clawdbot message send --channel discord \
--to channel:123 --message "hi" --reply-to 456
```
Create a Discord poll:
```
clawdbot message poll --provider discord \
clawdbot message poll --channel discord \
--to channel:123 \
--poll-question "Snack?" \
--poll-option Pizza --poll-option Sushi \
@@ -185,13 +185,13 @@ clawdbot message poll --provider discord \
Send a Teams proactive message:
```
clawdbot message send --provider msteams \
clawdbot message send --channel msteams \
--to conversation:19:abc@thread.tacv2 --message "hi"
```
Create a Teams poll:
```
clawdbot message poll --provider msteams \
clawdbot message poll --channel msteams \
--to conversation:19:abc@thread.tacv2 \
--poll-question "Lunch?" \
--poll-option Pizza --poll-option Sushi
@@ -199,12 +199,12 @@ clawdbot message poll --provider msteams \
React in Slack:
```
clawdbot message react --provider slack \
clawdbot message react --channel slack \
--to C123 --message-id 456 --emoji "✅"
```
Send Telegram inline buttons:
```
clawdbot message send --provider telegram --to @mychat --message "Choose:" \
clawdbot message send --channel telegram --to @mychat --message "Choose:" \
--buttons '[ [{"text":"Yes","callback_data":"cmd:yes"}], [{"text":"No","callback_data":"cmd:no"}] ]'
```