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

A single Interaction. More...

#include <InteractionEntities.hpp>

Inheritance diagram for DiscordCoreAPI::Interaction:

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.
- Public Data Members inherited from DiscordCoreAPI::InteractionData
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 {}
 The Interaction version.
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}

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