DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::interaction_data_data Struct Reference

Interaction data data. More...

#include <FoundationEntities.hpp>

Public Data Members

jsonifier::vector< action_row_datacomponents {}
 Array of message componentsthe values submitted by the user.
 
component_type componentType {}
 The type of the component.
 
jsonifier::string customId {}
 The custom_id of the component.
 
snowflake guildId {}
 The guild that the command took place in.
 
snowflake id {}
 The ID of the invoked command.
 
jsonifier::string name {}
 The name of the invoked command.
 
jsonifier::vector< application_command_interaction_data_optionoptions {}
 Application_command_data interaction data options.
 
resolved_data resolved {}
 Resolved data.
 
snowflake targetId {}
 The target message_data's id.
 
application_command_type type {}
 The type of application_command.
 
jsonifier::vector< jsonifier::string > values {}
 Array of select option values the user selected in a select menu component.
 

The documentation for this struct was generated from the following file: