![]() |
D++ (DPP)
C++ Discord API Bot Library
|
#include <message.h>
Collaboration diagram for dpp::select_option: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_animated (bool anim) |
| select_option & | set_default (bool def) |
| 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_label (const std::string &l) |
| select_option & | set_value (const std::string &v) |
Public Attributes | |
| std::string | description |
| struct dpp::select_option::inner_select_emoji | emoji |
| bool | is_default |
| std::string | label |
| std::string | value |
| 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 |