Channels
Messages

Publish a message to following channels

Changed on

Publishes a message in an announcement channel to every channel that follows it. The author needs Send Messages. Anyone else needs Send Messages and Manage Messages. Only default messages that are not replies, forwards or copies can be published, and each message can be published once. Copies are delivered asynchronously. Publishing is limited per channel (10 in a row, then one every 6 minutes) and per community (30 in a row, then one every 2 minutes). Returns the updated message with the CROSSPOSTED flag set.

post/channels/{channel_id}/messages/{message_id}/crosspost

Request

  • Base URL
    https://web.fluxer.app/api/v1
  • Auth
    • API key in header Authorization
    • or API key in header Authorization

Path parameters

string snowflake required
OR
integer required
string snowflake required
OR
integer required

Response

Success

idstring snowflake required

The unique identifier (snowflake) for this message

channel_idstring snowflake required

The ID of the channel this message was sent in

webhook_idstring snowflake nullable
type0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 18 | 19 | 21 required

The type of message

flagsinteger required

The bitwise flags for this message

contentstring required

The text content of the message

timestampstring date-time required

The ISO 8601 timestamp of when the message was created

edited_timestampstring date-time nullable

The ISO 8601 timestamp of when the message was last edited

pinnedboolean required

Whether the message is pinned

mention_everyoneboolean required

Whether the message mentions @everyone

ttsboolean required

Whether the message was sent as text-to-speech

mention_rolesstring[] required

The role IDs mentioned in the message

noncestring nullable

A client-provided value for message deduplication

Changes

    • info

      added the optional property referenced_message/anyOf[subschema #1]/thread/rtc_p2p to the response with the status

    • info

      added the optional property thread/rtc_p2p to the response with the status

    • info

      added to the embeds/anyOf[subschema #1]/items/children/anyOf[subschema #1]/items/provider response property anyOf list for the response status

    15 more changes in this revision