D++ (DPP)
C++ Discord API Bot Library
|
#include <message.h>
Classes | |
struct | inner_select_emoji |
Public Member Functions | |
select_option () | |
select_option (const std::string &label, const std::string &value, const std::string &description="") | |
select_option & | set_label (const std::string &l) |
select_option & | set_value (const std::string &v) |
select_option & | set_description (const std::string &d) |
select_option & | set_emoji (const std::string &n, dpp::snowflake id=0, bool animated=false) |
select_option & | set_default (bool def) |
select_option & | set_animated (bool anim) |
Public Attributes | |
std::string | label |
std::string | value |
std::string | description |
bool | is_default |
struct dpp::select_option::inner_select_emoji | emoji |
dpp::select_option::select_option | ( | ) |
dpp::select_option::select_option | ( | const std::string & | label, |
const std::string & | value, | ||
const std::string & | description = "" |
||
) |
select_option & dpp::select_option::set_animated | ( | bool | anim | ) |
select_option & dpp::select_option::set_default | ( | bool | def | ) |
select_option & dpp::select_option::set_description | ( | const std::string & | d | ) |
select_option & dpp::select_option::set_emoji | ( | const std::string & | n, |
dpp::snowflake | id = 0 , |
||
bool | animated = false |
||
) |
select_option & dpp::select_option::set_label | ( | const std::string & | l | ) |
select_option & dpp::select_option::set_value | ( | const std::string & | v | ) |
std::string dpp::select_option::description |
struct dpp::select_option::inner_select_emoji dpp::select_option::emoji |
bool dpp::select_option::is_default |
std::string dpp::select_option::label |
std::string dpp::select_option::value |