D++ (DPP)
C++ Discord API Bot Library
dpp::poll_results::answer_count Struct Reference

Represents a reference to an answer and its count of votes. More...

+ Collaboration diagram for dpp::poll_results::answer_count:

Public Attributes

uint32_t answer_id {0}
 ID of the answer. Relates to an answer in the answers field. More...
 
uint32_t count {0}
 Number of votes for this answer. More...
 
bool me_voted {false}
 Whether the current user voted. More...
 

Detailed Description

Member Data Documentation

◆ answer_id

uint32_t dpp::poll_results::answer_count::answer_id {0}

ID of the answer. Relates to an answer in the answers field.

See also
poll_answer::answer_id

◆ count

uint32_t dpp::poll_results::answer_count::count {0}

Number of votes for this answer.

◆ me_voted

bool dpp::poll_results::answer_count::me_voted {false}

Whether the current user voted.

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