Skip to content

Commit 2e9f9f5

Browse files
authored
fix interaction callback documentation
1 parent d9af6ab commit 2e9f9f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/interactions/Receiving_and_Responding.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -320,16 +320,16 @@ r = requests.post(url, json=json)
320320

321321
###### Interaction Callback Response Object
322322

323-
| Field | Type | Description |
324-
|-------------|--------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------|
325-
| interaction | [interaction callback object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-object) | The interaction object associated with the |
326-
| resource? | [interaction resource object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-resource-object) | The resource that was created by the interaction response. |
323+
| Field | Type | Description |
324+
|-------------|--------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|
325+
| interaction | [interaction callback object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-object) | The interaction object associated with the interaction response. |
326+
| resource? | [interaction resource object](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-callback-interaction-callback-resource-object) | The resource that was created by the interaction response. |
327327

328328
###### Interaction Callback Object
329329

330330
| Field | Type | Description |
331331
|-----------------------------|-----------|-----------------------------------------------------------------------------------------------------|
332-
| id | snowflake | |
332+
| id | snowflake | ID of the interaction |
333333
| type | integer | [Interaction type](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/interaction-object-interaction-type) |
334334
| activity_instance_id? | string | Instance ID of the Activity if one was launched or joined |
335335
| response_message_id? | snowflake | ID of the message that was created by the interaction |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy