A Discord bot library written in C++, with custom asynchronous coroutines.
No Matches
DiscordCoreAPI::InteractionData Class Reference

Interaction data. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::InteractionData:

Public Data Members

Snowflake applicationId {}
 The application's id.
Permissions appPermissions {}
 Bitwise set of permissions the app or bot has within the channel the interaction was sent from.
Snowflake channelId {}
 The Channel the Interaction was sent in.
InteractionDataData data {}
 The Interaction's data.
Snowflake guildId {}
 The Guild id of the Guild it was sent in.
std::string guildLocale {}
 The guild's preferred locale, if invoked in a guild.
std::string locale {}
 The selected language of the invoking user.
GuildMemberData member {}
 The data of the Guild member who sent the Interaction, if applicable.
MessageData message {}
 The Message that the Interaction came through on, if applicable.
std::string token {}
 The Interaction token.
InteractionType type {}
 The type of Interaction.
UserData user {}
 The User data of the sender of the Interaction.
int32_t version { 0 }
 The Interaction version.
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp.

The documentation for this class was generated from the following files: