messages_crosspost
messages_crosspost
Section titled “messages_crosspost”Category: messages
Publish (crosspost) a message from an Announcement channel to all following channels.
When to use
Section titled “When to use”- Broadcast an existing announcement to subscriber servers.
When NOT to use
Section titled “When NOT to use”- Channel is not type 5 (Announcement) — Discord returns 400.
- Sending fresh content → use
messages_sendthenmessages_crosspost.
| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Announcement channel containing the message |
message_id | string | yes | Message to publish |
audit_reason | string | no | Reason recorded in audit log (X-Audit-Log-Reason header) |
Returns
Section titled “Returns”\{message_id, channel_id, crossposted\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
message_id | string | yes | Discord message ID |
channel_id | string | yes | Discord channel ID (snowflake) |
crossposted | boolean | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | no |
| Open-world | yes |
| Confirmation required | no |