SleepyDiscord::EmbedField
Inherits from SleepyDiscord::DiscordObject
Public Functions Documentation​
function EmbedField​
EmbedField() =default
function EmbedField​
EmbedField(
const json::Value & json
)
function EmbedField​
inline EmbedField(
const nonstd::string_view & json
)
function EmbedField​
inline EmbedField(
std::string _name,
std::string _value,
bool _isInline =false
)
function empty​
inline bool empty() const
function std::make_tuple​
JSONStructStart std::make_tuple(
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD
)
Public Attributes Documentation​
variable name​
std::string name = "";
variable value​
std::string value = "";
variable isInline​
bool isInline = false;
Updated on 13 April 2022 at 18:39:59 UTC