Skip to content

Clarify that a modal interaction from a button has a message object #7559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/interactions/receiving-and-responding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ For [Message Components](/docs/components/reference) it includes identifying inf
| user? | [user](/docs/resources/user#user-object) object | User object for the invoking user, if invoked in a DM |
| token | string | Continuation token for responding to the interaction |
| version | integer | Read-only property, always `1` |
| message? | [message](/docs/resources/message#message-object) object | For components, the message they were attached to |
| message? | [message](/docs/resources/message#message-object) object | For components or modals triggered by components, the message they were attached to |
| app_permissions\*\*\* | string | Bitwise set of permissions the app has in the source location of the interaction |
| locale?\*\*\*\* | string | Selected [language](/docs/reference#locales) of the invoking user |
| guild_locale? | string | [Guild's preferred locale](/docs/resources/guild#guild-object), if invoked in a guild |
Expand Down