Expand description
Models about OAuth2 applications.
Structs§
- Action
Row  - An action row.
 - Application
Flags  - The flags of the application.
 - Authorizing
Integration Owners  - Autocomplete
Option  - The focused option for autocomplete interactions return by 
CommandData::autocomplete. - Button
 - A button component.
 - Command
 - The base command model that belongs to an application.
 - Command
Data  - The command data payload.
 - Command
Data Option  - A set of a parameter and a value from the user.
 - Command
Data Resolved  - The resolved data of a command data interaction payload. It contains the objects of
CommandDataOptions. - Command
Interaction  - An interaction when a user invokes a slash command.
 - Command
Option  - The parameters for an 
Command. - Command
Option Choice  - The only valid values a user can pick in an 
CommandOption. - Command
Permission  - The 
CommandPermissiondata. - Command
Permissions  - An 
Commandpermission. - Component
Interaction  - An interaction triggered by a message component.
 - Component
Interaction Data  - A message component interaction data, provided by 
ComponentInteraction::data - Current
Application Info  - Information about the current application and its owner.
 - Input
Text  - An input text component for modal interactions
 - Install
Params  - Settings for the application’s default in-app authorization link
 - Installation
Context Config  - Information about how the 
CurrentApplicationInfois installed. - Interaction
Response Flags  - The flags for an interaction response message.
 - Message
Command Interaction Metadata  - Message
Component Interaction Metadata  - Message
Interaction  - Sent when a 
Messageis a response to anInteraction. - Message
Modal Submit Interaction Metadata  - Modal
Interaction  - An interaction triggered by a modal submit.
 - Modal
Interaction Data  - A modal submit interaction data, provided by 
ModalInteraction::data - Partial
Current Application Info  - Partial information about the given application.
 - Ping
Interaction  - A ping interaction, which can only be received through an endpoint url.
 - Resolved
Option  - Select
Menu  - A select menu component.
 - Select
Menu Option  - A select menu component options.
 - Team
 - Information about the Team group of the application.
 - Team
Member  - Information about a Member on a Team.
 
Enums§
- Action
RowComponent  - A component which can be inside of an 
ActionRow. - Authorizing
Integration Owner  - A cleaned up enum for determining the authorizing owner for an 
Interaction. - Button
Kind  - Button
Style  - The style of a button.
 - Command
Data Option Value  - The value of an 
CommandDataOption. - Command
Option Type  - The type of an 
CommandOption. - Command
Permission Type  - The type of a 
CommandPermission. - Command
Type  - The type of an application command.
 - Component
Interaction Data Kind  - Component
Type  - The type of a component
 - Entry
Point Handler Type  - Signifies how the invocation of a command of type 
PrimaryEntryPointshould be handled. - Input
Text Style  - The style of the input text
 - Installation
Context  - An enum representing the [installation contexts].
 - Interaction
 - Discord docs
 - Interaction
Context  - An enum representing the different [interaction contexts].
 - Interaction
Type  - The type of an Interaction.
 - Membership
State  - Discord docs.
 - Message
Interaction Metadata  - Metadata about the interaction, including the source of the interaction relevant server and user IDs.
 - Resolved
Target  - The resolved value of a 
CommandData::target_id. - Resolved
Value  - The resolved value of a 
CommandDataOption. - Scope
 - The available OAuth2 Scopes.
 - Team
Member Role  - Unresolved
 - Option value variants that couldn’t be resolved by 
CommandData::options().