![]()  | 
  
    D++ (DPP)
    
   C++ Discord API Bot Library 
   | 
 
Represents a reaction to a dpp::message. More...
#include <message.h>
 Collaboration diagram for dpp::reaction:Public Member Functions | |
| reaction () | |
| Constructs a new reaction object.  More... | |
| reaction (nlohmann::json *j) | |
| Constructs a new reaction object from a JSON object.  More... | |
| ~reaction ()=default | |
| Destructs the reaction object.  More... | |
Public Attributes | |
| uint32_t | count | 
| snowflake | emoji_id | 
| std::string | emoji_name | 
| bool | me | 
Represents a reaction to a dpp::message.
| dpp::reaction::reaction | ( | ) | 
Constructs a new reaction object.
| dpp::reaction::reaction | ( | nlohmann::json * | j | ) | 
Constructs a new reaction object from a JSON object.
| j | The JSON to read data from | 
      
  | 
  default | 
Destructs the reaction object.
| uint32_t dpp::reaction::count | 
Number of times this reaction has been added
| snowflake dpp::reaction::emoji_id | 
ID of emoji for reaction
| std::string dpp::reaction::emoji_name | 
Name of emoji, if applicable
| bool dpp::reaction::me | 
Reaction was from the bot's id