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

Represents an answer in a poll. More...

#include "message.h"

Collaboration diagram for dpp::poll_answer:

Public Attributes

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

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