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

Represents an answer in a poll. More...

+ Collaboration diagram for dpp::poll_answer:

Public Attributes

uint32_t id {0}
 ID of the answer. Only sent by the Discord API, this is a dead field when creating a poll. More...
 
poll_media media {}
 Data of the answer. More...
 

Detailed Description

Member Data Documentation

◆ id

uint32_t dpp::poll_answer::id {0}

ID of the answer. Only sent by the Discord API, this is a dead field when creating a poll.

@warn At the time of writing the Discord API warns users not to rely on anything regarding sequence or "first value" of this field.

◆ media

poll_media dpp::poll_answer::media {}

Data of the answer.

See also
poll_media
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