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/interactions/Receiving_and_Responding.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -404,9 +404,9 @@ Deletes the initial Interaction response. Returns `204 No Content` on success.
404
404
> info
405
405
> Apps are limited to 5 followup messages per interaction if it was initiated from a user-installed app and isn't installed in the server (meaning the [authorizing integration owners object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-object-authorizing-integration-owners-object) only contains `USER_INSTALL`)
406
406
407
-
Create a followup message for an Interaction. Functions the same as [Execute Webhook](#DOCS_RESOURCES_WEBHOOK/execute-webhook), but `wait` is always true. The `thread_id`, `avatar_url`, and `username` parameters are not supported when using this endpoint for interaction followups.
407
+
Create a followup message for an Interaction. Functions the same as [Execute Webhook](#DOCS_RESOURCES_WEBHOOK/execute-webhook), but `wait` is always true. The `thread_id`, `avatar_url`, and `username` parameters are not supported when using this endpoint for interaction followups. You can use the `EPHEMERAL`[message flag](#DOCS_RESOURCES_MESSAGE/message-object-message-flags)`1 << 6` (64) to send a message that only the user can see.
408
408
409
-
`flags` can be set to `64`to mark the message as ephemeral, except when it is the first followup message to a deferred Interactions Response. In that case, the `flags` field will be ignored, and the ephemerality of the message will be determined by the `flags` value in your original ACK.
409
+
When using this endpoint directly after responding to an interaction with `DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE`, this endpoint will function as [Edit Original Interaction Response](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/edit-original-interaction-response) for backwards compatibility. In this case, no new message will be created, and the loading message will be edited instead. The ephemeral flag will be ignored, and the value you provided in the initial defer response will be preserved, as an existing message's ephemeral state cannot be changed. This behavior is deprecated, and you should use the Edit Original Interaction Response endpoint in this case instead.
410
410
411
411
## Get Followup Message % GET /webhooks/\{application.id#DOCS_RESOURCES_APPLICATION/application-object\}/\{interaction.token#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-object\}/messages/\{message.id#DOCS_RESOURCES_CHANNEL/message-object\}
| content | string | the message contents (up to 2000 characters) | one of content, file, embeds, poll |
199
-
| username | string | override the default username of the webhook | false |
200
-
| avatar_url | string | override the default avatar of the webhook | false |
201
-
| tts | boolean | true if this is a TTS message | false |
202
-
| embeds | array of up to 10 [embed](#DOCS_RESOURCES_MESSAGE/embed-object) objects | embedded `rich` content | one of content, file, embeds, poll |
203
-
| allowed_mentions |[allowed mention object](#DOCS_RESOURCES_MESSAGE/allowed-mentions-object)| allowed mentions for the message | false |
204
-
| components \*| array of [message component](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/component-object)| the components to include with the message | false |
205
-
| files[n]\*\*| file contents | the contents of the file being sent | one of content, file, embeds, poll |
206
-
| payload_json \*\*| string | JSON encoded body of non-file params |`multipart/form-data` only |
207
-
| attachments \*\*| array of partial [attachment](#DOCS_RESOURCES_MESSAGE/attachment-object) objects | attachment objects with filename and description | false |
208
-
| 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` and `SUPPRESS_NOTIFICATIONS` can be set can be set) | false |
209
-
| thread_name | string | name of thread to create (requires the webhook channel to be a forum or media channel) | false |
210
-
| 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 |
211
-
| poll |[poll](#DOCS_RESOURCES_POLL/poll-create-request-object) request object | A poll! | one of content, file, embeds, poll |
| content | string | the message contents (up to 2000 characters) | one of content, file, embeds, poll |
199
+
| username | string | override the default username of the webhook | false |
200
+
| avatar_url | string | override the default avatar of the webhook | false |
201
+
| tts | boolean | true if this is a TTS message | false |
202
+
| embeds | array of up to 10 [embed](#DOCS_RESOURCES_MESSAGE/embed-object) objects | embedded `rich` content | one of content, file, embeds, poll |
203
+
| allowed_mentions |[allowed mention object](#DOCS_RESOURCES_MESSAGE/allowed-mentions-object)| allowed mentions for the message | false |
204
+
| components \*| array of [message component](#DOCS_INTERACTIONS_MESSAGE_COMPONENTS/component-object)| the components to include with the message | false |
205
+
| files[n]\*\*| file contents | the contents of the file being sent | one of content, file, embeds, poll |
206
+
| payload_json \*\*| string | JSON encoded body of non-file params |`multipart/form-data` only |
207
+
| attachments \*\*| array of partial [attachment](#DOCS_RESOURCES_MESSAGE/attachment-object) objects | attachment objects with filename and description | false |
208
+
| 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` and `SUPPRESS_NOTIFICATIONS` can be set) | false |
209
+
| thread_name | string | name of thread to create (requires the webhook channel to be a forum or media channel) | false |
210
+
| 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 |
211
+
| poll |[poll](#DOCS_RESOURCES_POLL/poll-create-request-object) request object | A poll! | one of content, file, embeds, poll |
0 commit comments