mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 15:17:27 +00:00
fix(mattermost): surface reactions support
This commit is contained in:
@@ -114,6 +114,26 @@ Use these target formats with `openclaw message send` or cron/webhooks:
|
||||
|
||||
Bare IDs are treated as channels.
|
||||
|
||||
## Reactions (message tool)
|
||||
|
||||
- Use `message action=react` with `channel=mattermost`.
|
||||
- `messageId` is the Mattermost post id.
|
||||
- `emoji` accepts names like `thumbsup` or `:+1:` (colons are optional).
|
||||
- Set `remove=true` (boolean) to remove a reaction.
|
||||
- Reaction add/remove events are forwarded as system events to the routed agent session.
|
||||
|
||||
Examples:
|
||||
|
||||
```
|
||||
message action=react channel=mattermost target=channel:<channelId> messageId=<postId> emoji=thumbsup
|
||||
message action=react channel=mattermost target=channel:<channelId> messageId=<postId> emoji=thumbsup remove=true
|
||||
```
|
||||
|
||||
Config:
|
||||
|
||||
- `channels.mattermost.actions.reactions`: enable/disable reaction actions (default true).
|
||||
- Per-account override: `channels.mattermost.accounts.<id>.actions.reactions`.
|
||||
|
||||
## Multi-account
|
||||
|
||||
Mattermost supports multiple accounts under `channels.mattermost.accounts`:
|
||||
|
||||
Reference in New Issue
Block a user