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

/// Data structure representing a single reaction. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::ReactionData:

Public Data Members

Snowflake channelId {}
 The id of the Channel where it was placed.
int32_t count {}
 The number of times this particular emoji was placed as a reaction to the given Message.
EmojiData emoji {}
 The emoji that was placed as a reaction.
Snowflake guildId {}
 The id of the Guild where it was placed.
bool me {}
 Whether or not I (The bot) placed it.
GuildMemberData member {}
 The GuildMember who placed the reaction.
Snowflake messageId {}
 The id of the Message upon which it was placed.
Snowflake userId {}
 The id of the User who placed the reaction.
- 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: