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

A single Interaction. More...

#include <InteractionEntities.hpp>

Inheritance diagram for DiscordCoreAPI::Interaction:
[legend]

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
String getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp. More...
 
- 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.
 
String guildLocale {}
 The guild's preferred locale, if invoked in a guild.
 
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.
 
String token {}
 The Interaction token.
 
InteractionType type {}
 The type of Interaction.
 
UserData user {}
 The User data of the sender of the Interaction.
 
Int32 version { 0 }
 The Interaction version.
 
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 

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