Skip to content

Commit 7492bd5

Browse files
committed
Revert "webhook support"
This reverts commit 2bd4f19.
1 parent 9e19d7b commit 7492bd5

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

docs/resources/Webhook.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,10 @@ Refer to [Uploading Files](#DOCS_REFERENCE/uploading-files) for details on attac
194194
195195
###### Query String Params
196196

197-
| Field | Type | Description | Required |
198-
|-----------------|--------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
199-
| 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) | Allows the webhook to send components | false |
197+
| Field | Type | Description | Required |
198+
|-----------|--------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
199+
| 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 |
202201

203202
###### JSON/Form Params
204203

@@ -220,7 +219,7 @@ Refer to [Uploading Files](#DOCS_REFERENCE/uploading-files) for details on attac
220219
| poll | [poll](#DOCS_RESOURCES_POLL/poll-create-request-object) request object | A poll! | one of content, file, embeds, poll |
221220

222221

223-
\* Requires an application-owned webhook or `with_components` to be `true`. If this webhook is not application-owned, you cannot send components with the following [types](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/component-object-component-types): `2` (exception is a `Link` button), `3`, `4`, `5`, `6`, `7` & `8`.
222+
\* Requires an application-owned webhook.
224223

225224
\*\* See [Uploading Files](#DOCS_REFERENCE/uploading-files) for details.
226225

@@ -276,10 +275,9 @@ Any provided files will be **appended** to the message. To remove or replace fil
276275
277276
###### Query String Params
278277

279-
| Field | Type | Description | Required |
280-
|-----------------|--------------------------------------------------|---------------------------------------|----------|
281-
| thread_id | snowflake | id of the thread the message is in | false |
282-
| with_components | [boolean](#DOCS_REFERENCE/boolean-query-strings) | Allows the webhook to send components | false |
278+
| Field | Type | Description | Required |
279+
|-----------|-----------|------------------------------------|----------|
280+
| thread_id | snowflake | id of the thread the message is in | false |
283281

284282
###### JSON/Form Params
285283

@@ -294,7 +292,7 @@ Any provided files will be **appended** to the message. To remove or replace fil
294292
| attachments \*\* | array of partial [attachment](#DOCS_RESOURCES_MESSAGE/attachment-object) objects | attached files to keep and possible descriptions for new files |
295293
| poll \*\*\* | [poll](#DOCS_RESOURCES_POLL/poll-create-request-object) request object | A poll! |
296294

297-
\* Requires an application-owned webhook or `with_components` to be `true`. If this webhook is not application-owned, you cannot send components with the following [types](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/component-object-component-types): `2` (exception is a `Link` button), `3`, `4`, `5`, `6`, `7` & `8`.
295+
\* Requires an application-owned webhook.
298296

299297
\*\* See [Uploading Files](#DOCS_REFERENCE/uploading-files) for details.
300298

0 commit comments

Comments
 (0)