Represets a reaction to a dpp::message.
More...
Represets a reaction to a dpp::message.
◆ reaction() [1/2]
dpp::reaction::reaction |
( |
| ) |
|
Constructs a new reaction object.
◆ reaction() [2/2]
dpp::reaction::reaction |
( |
nlohmann::json * |
j | ) |
|
Constructs a new reaction object from a JSON object.
- Parameters
-
j | The JSON to read data from |
◆ ~reaction()
dpp::reaction::~reaction |
( |
| ) |
|
|
default |
Destructs the reaction object.
◆ count
uint32_t dpp::reaction::count |
Number of times this reaction has been added
◆ emoji_id
◆ emoji_name
std::string dpp::reaction::emoji_name |
Name of emoji, if applicable
◆ me
Reaction was from the bot's id