SleepyDiscord::SelectMenu::Option
Inherits from SleepyDiscord::DiscordObject
Public Functions Documentation​
function Option​
Option() =default
function ~Option​
~Option() =default
function Option​
Option(
const json::Value & rawJSON
)
function Option​
inline Option(
const nonstd::string_view & json
)
function std::make_tuple​
JSONStructStart std::make_tuple(
json::pair &::, "", ::REQUIRIED_FIELD ,
json::pair &::, "", ::REQUIRIED_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD
)
Public Attributes Documentation​
variable label​
std::string label;
variable value​
std::string value;
variable description​
std::string description;
variable emoji​
Emoji emoji;
variable isDefault​
bool isDefault = false;
Updated on 13 April 2022 at 18:39:59 UTC