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
| wait |[boolean](#DOCS_REFERENCE/boolean-query-strings)| waits for server confirmation of message send before response, and returns the created message body (defaults to `false`; when `false` a message that is not saved does not return an error) | false |
200
-
| thread_id | snowflake | Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived. | false |
| wait |[boolean](#DOCS_REFERENCE/boolean-query-strings)| waits for server confirmation of message send before response, and returns the created message body (defaults to `false`; when `false` a message that is not saved does not return an error) | false |
200
+
| thread_id | snowflake | Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived. | false |
201
+
| with_components |[boolean](#DOCS_REFERENCE/boolean-query-strings)| whether to allow sending (non-interactive) components for non-application-owned webhooks (defaults to `false`; ignored for application-owned webhooks) | false |
201
202
202
203
###### JSON/Form Params
203
204
@@ -218,8 +219,7 @@ Refer to [Uploading Files](#DOCS_REFERENCE/uploading-files) for details on attac
218
219
| applied_tags | array of snowflakes | array of tag ids to apply to the thread (requires the webhook channel to be a forum or media channel) | false |
219
220
| poll |[poll](#DOCS_RESOURCES_POLL/poll-create-request-object) request object | A poll! | one of content, file, embeds, poll |
220
221
221
-
222
-
\* Requires an application-owned webhook.
222
+
\* Application-owned webhooks can always send components. Non-application-owned webhooks cannot send interactive components, and the field will be ignored unless they set the `with_components` query param.
223
223
224
224
\*\* See [Uploading Files](#DOCS_REFERENCE/uploading-files) for details.
225
225
@@ -275,9 +275,10 @@ Any provided files will be **appended** to the message. To remove or replace fil
| thread_id | snowflake | id of the thread the message is in | false |
281
+
| with_components |[boolean](#DOCS_REFERENCE/boolean-query-strings)| whether to allow sending (non-interactive) components for non-application-owned webhooks (defaults to `false`; ignored for application-owned webhooks) | false |
281
282
282
283
###### JSON/Form Params
283
284
@@ -292,7 +293,7 @@ Any provided files will be **appended** to the message. To remove or replace fil
292
293
| attachments \*\*| array of partial [attachment](#DOCS_RESOURCES_MESSAGE/attachment-object) objects | attached files to keep and possible descriptions for new files |
293
294
| poll \*\*\*|[poll](#DOCS_RESOURCES_POLL/poll-create-request-object) request object | A poll! |
294
295
295
-
\*Requires an application-owned webhook.
296
+
\*Application-owned webhooks can always send components. Non-application-owned webhooks cannot send interactive components, and the field will be ignored unless they set the `with_components` query param.
296
297
297
298
\*\* See [Uploading Files](#DOCS_REFERENCE/uploading-files) for details.
0 commit comments