D++ (DPP)
C++ Discord API Bot Library
dpp::events::message_poll_vote_add Class Reference

Internal event handler for MESSAGE_POLL_VOTE_ADD websocket events. Called for each websocket message of this type. More...

+ Inheritance diagram for dpp::events::message_poll_vote_add:
+ Collaboration diagram for dpp::events::message_poll_vote_add:

Public Member Functions

virtual void handle (class dpp::discord_client *client, nlohmann::json &j, const std::string &raw)
 Pure virtual method for event handler code. More...
 

Detailed Description

Internal event handler for MESSAGE_POLL_VOTE_ADD websocket events. Called for each websocket message of this type.

Member Function Documentation

◆ handle()

virtual void dpp::events::message_poll_vote_add::handle ( class dpp::discord_client client,
nlohmann::json &  j,
const std::string &  raw 
)
virtual

Pure virtual method for event handler code.

Parameters
clientThe creating shard
jThe json data of the event
rawThe raw event json

Implements dpp::events::event.

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0