![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
A single Interaction. More...
#include <InteractionEntities.hpp>
Additional Inherited Members | |
![]() | |
std::string | getCreatedAtTimestamp (TimeFormat timeFormat) |
Converts the snowflake-id into a time and date stamp. | |
![]() | |
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. | |
![]() | |
Snowflake | id {} |