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
Copy file name to clipboardExpand all lines: docs/resources/Channel.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1341,8 +1341,8 @@ Creates a new thread in a forum or a media channel, and sends a message within t
1341
1341
| name | string | 1-100 character channel name |
1342
1342
| auto_archive_duration?\*| integer | duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080 |
1343
1343
| rate_limit_per_user? | ?integer | amount of seconds a user has to wait before sending another message (0-21600) |
1344
-
| message | a [forum thread message params](#DOCS_RESOURCES_CHANNEL/start-thread-in-forum-or-media-channel-forum-and-media-thread-message-params-object) object | contents of the first message in the forum thread|
1345
-
| applied_tags? | array of snowflakes | the IDs of the set of tags that have been applied to a thread in a `GUILD_FORUM`channel |
1344
+
| message | a [forum thread message params](#DOCS_RESOURCES_CHANNEL/start-thread-in-forum-or-media-channel-forum-and-media-thread-message-params-object) object | contents of the first message in the forum/media thread |
1345
+
| applied_tags? | array of snowflakes | the IDs of the set of tags that have been applied to a thread in a `GUILD_FORUM`or a `GUILD_MEDIA` channel|
1346
1346
| files[n]?\*| file contents | Contents of the file being sent. See [Uploading Files](#DOCS_REFERENCE/uploading-files)|
1347
1347
| payload_json? | string | JSON-encoded body of non-file params, only for `multipart/form-data` requests. See [Uploading Files](#DOCS_REFERENCE/uploading-files)|
1348
1348
@@ -1352,15 +1352,15 @@ Creates a new thread in a forum or a media channel, and sends a message within t
1352
1352
> info
1353
1353
> When sending a message, apps must provide a value for **at least one of**`content`, `embeds`, `sticker_ids`, `components`, or `files[n]`.
| embeds?\*| array of [embed](#DOCS_RESOURCES_CHANNEL/embed-object) objects |Embedded `rich`content (up to 6000 characters) |
1359
-
| allowed_mentions? |[allowed mention object](#DOCS_RESOURCES_CHANNEL/allowed-mentions-object)| Allowed mentions for the message |
1360
-
| components?\*| array of [message component](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/component-object) objects | Components to include with the message |
1361
-
| sticker_ids?\*| array of snowflakes | IDs of up to 3 [stickers](#DOCS_RESOURCES_STICKER/sticker-object) in the server to send in the message |
1362
-
| attachments? | array of partial [attachment](#DOCS_RESOURCES_CHANNEL/attachment-object) objects | Attachment objects with `filename` and `description`. See [Uploading Files](#DOCS_REFERENCE/uploading-files)|
1363
-
| flags? | integer |[Message flags](#DOCS_RESOURCES_CHANNEL/message-object-message-flags) combined as a [bitfield](https://en.wikipedia.org/wiki/Bit_field) (only `SUPPRESS_EMBEDS` can be set) |
| embeds?\*| array of [embed](#DOCS_RESOURCES_CHANNEL/embed-object) objects |Up to 10 `rich`embeds (up to 6000 characters)|
1359
+
| allowed_mentions? |[allowed mention object](#DOCS_RESOURCES_CHANNEL/allowed-mentions-object)| Allowed mentions for the message |
1360
+
| components?\*| array of [message component](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/component-object) objects | Components to include with the message |
1361
+
| sticker_ids?\*| array of snowflakes | IDs of up to 3 [stickers](#DOCS_RESOURCES_STICKER/sticker-object) in the server to send in the message |
1362
+
| attachments? | array of partial [attachment](#DOCS_RESOURCES_CHANNEL/attachment-object) objects | Attachment objects with `filename` and `description`. See [Uploading Files](#DOCS_REFERENCE/uploading-files)|
1363
+
| flags? | integer |[Message flags](#DOCS_RESOURCES_CHANNEL/message-object-message-flags) combined as a [bitfield](https://en.wikipedia.org/wiki/Bit_field) (only `SUPPRESS_EMBEDS`and `SUPPRESS_NOTIFICATIONS`can be set) |
1364
1364
1365
1365
\* At least one of `content`, `embeds`, `sticker_ids`, `components`, or `files[n]` is required.
0 commit comments