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

Interaction data data. More...

#include <FoundationEntities.hpp>

Public Data Members

ComponentType componentType {}
 The type of component.
 
std::string customId {}
 The custom id of the Interaction entity.
 
std::string customIdSmall {}
 The custom id of a particular modal input.
 
Snowflake guildId {}
 The guild that the command took place in.
 
std::string name {}
 The name of the command.
 
std::vector< ApplicationCommandInteractionDataOptionoptions {}
 ApplicationCommand Interaction data options.
 
ResolvedData resolved {}
 Resolved data.
 
Snowflake targetId {}
 The target Message's id.
 
ApplicationCommandType type {}
 The type of ApplicationCommand.
 
std::string value {}
 The input value of the modal.
 
std::vector< std::string > values {}
 The values of the components.
 

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