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

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

#include "message.h"

Collaboration diagram for dpp::poll_results::answer_count:

Public Attributes

uint32_t answer_id {0}
 ID of the answer. 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.


The documentation for this struct was generated from the following file: