send_channel_message
Send a message to an existing Odoo Discuss channel, visible to all members. Requires channel ID from list_message_targets and plain text or simple HTML.
Instructions
Post to an EXISTING Discuss channel — everyone in it sees this.
The channel is never created here: list_message_targets shows the ones
that exist, and posting to a room of the wrong size is not recoverable by
deleting the message afterwards.
Members who are not employees of this instance — portal users, guests —
are named in a refusal rather than written to, the same rule notify_user
applies to external followers. Nothing is posted in that case.
Args:
channel_id: from list_message_targets.
message: the body, plain text or simple HTML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |