A Discord bot library written in C++, with custom asynchronous coroutines.
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.
jsonifier::vector< ApplicationCommandInteractionDataOptionoptions {}
 ApplicationCommandData Interaction data options.
ResolvedData resolved {}
 Resolved data.
Snowflake targetId {}
 The target MessageData's id.
ApplicationCommandType type {}
 The type of ApplicationCommandData.
std::string value {}
 The input value of the modal.
jsonifier::vector< std::string > values {}
 The values of the components.

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