You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| nonce? | integer or string | Can be used to verify a message was sent (up to 25 characters). Value will appear in the [Message Create event](/docs/events/gateway-events#message-create). |
831
-
| tts? | boolean |`true` if this is a TTS message |
832
-
| embeds?\*| array of [embed](/docs/resources/message#embed-object) objects | Up to 10 `rich` embeds (up to 6000 characters) |
833
-
| allowed_mentions? |[allowed mention object](/docs/resources/message#allowed-mentions-object)| Allowed mentions for the message |
834
-
| message_reference? |[message reference](/docs/resources/message#message-reference-structure)| Include to make your message a reply or a forward |
835
-
| components?\*| array of [message component](/docs/components/reference#component-object) objects | Components to include with the message |
836
-
| sticker_ids?\*| array of snowflakes | IDs of up to 3 [stickers](/docs/resources/sticker#sticker-object) in the server to send in the message |
837
-
| files[n]?\*| file contents | Contents of the file being sent. See [Uploading Files](/docs/reference#uploading-files)|
838
-
| payload_json? | string | JSON-encoded body of non-file params, only for `multipart/form-data` requests. See [Uploading Files](/docs/reference#uploading-files)|
839
-
| attachments? | array of partial [attachment](/docs/resources/message#attachment-object) objects | Attachment objects with filename and description. See [Uploading Files](/docs/reference#uploading-files)|
840
-
| flags?\*\*| integer |[Message flags](/docs/resources/message#message-object-message-flags) combined as a [bitfield](https://en.wikipedia.org/wiki/Bit_field) (only `SUPPRESS_EMBEDS`, `SUPPRESS_NOTIFICATIONS`and `IS_COMPONENTS_V2` can be set)|
841
-
| enforce_nonce? | boolean | If true and nonce is present, it will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created. |
842
-
| poll? |[poll](/docs/resources/poll#poll-create-request-object) request object | A poll! |
| nonce? | integer or string | Can be used to verify a message was sent (up to 25 characters). Value will appear in the [Message Create event](/docs/events/gateway-events#message-create). |
831
+
| tts? | boolean |`true` if this is a TTS message |
832
+
| embeds?\*| array of [embed](/docs/resources/message#embed-object) objects | Up to 10 `rich` embeds (up to 6000 characters) |
833
+
| allowed_mentions? |[allowed mention object](/docs/resources/message#allowed-mentions-object)| Allowed mentions for the message |
834
+
| message_reference? |[message reference](/docs/resources/message#message-reference-structure)| Include to make your message a reply or a forward |
835
+
| components?\*| array of [message component](/docs/components/reference#component-object) objects | Components to include with the message |
836
+
| sticker_ids?\*| array of snowflakes | IDs of up to 3 [stickers](/docs/resources/sticker#sticker-object) in the server to send in the message |
837
+
| files[n]?\*| file contents | Contents of the file being sent. See [Uploading Files](/docs/reference#uploading-files)|
838
+
| payload_json? | string | JSON-encoded body of non-file params, only for `multipart/form-data` requests. See [Uploading Files](/docs/reference#uploading-files)|
839
+
| attachments? | array of partial [attachment](/docs/resources/message#attachment-object) objects | Attachment objects with filename and description. See [Uploading Files](/docs/reference#uploading-files)|
840
+
| flags?\*\*| integer |[Message flags](/docs/resources/message#message-object-message-flags) combined as a [bitfield](https://en.wikipedia.org/wiki/Bit_field) (only `SUPPRESS_EMBEDS`, `SUPPRESS_NOTIFICATIONS`, `IS_VOICE_MESSAGE`, and `IS_COMPONENTS_V2` can be set) |
841
+
| enforce_nonce? | boolean | If true and nonce is present, it will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created. |
842
+
| poll? |[poll](/docs/resources/poll#poll-create-request-object) request object | A poll! |
843
843
844
844
\* At least one of `content`, `embeds`, `sticker_ids`, `components`, `files[n]`, or `poll` is required.
0 commit comments