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

Structure representing a poll media, for example the poll question or a possible poll answer. More...

#include "message.h"

Collaboration diagram for dpp::poll_media:

Public Attributes

partial_emoji emoji {}
 Emoji of the media. More...
 
std::string text {}
 Text of the media. More...
 

Detailed Description

Structure representing a poll media, for example the poll question or a possible poll answer.

See also
https://discord.com/developers/docs/resources/poll#poll-media-object-poll-media-object-structure

Member Data Documentation

◆ emoji

partial_emoji dpp::poll_media::emoji {}

Emoji of the media.

◆ text

std::string dpp::poll_media::text {}

Text of the media.

Referenced by dpp::component::add_select_option().


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