SleepyDiscord::SendMessageParams
Inherits from SleepyDiscord::MessageParams< SendMessageParams >, SleepyDiscord::DiscordObject
inherited members​
Public Functions inherited from SleepyDiscord::MessageParams< SendMessageParams >
Name | |
---|---|
JSONStructStart | std::make_tuple(json::pair &::, "", ::OPTIONAL_FIELD , json::pair &::, "", ::OPTIONAL_FIELD , json::pair &::, "", ::OPTIONAL_FIELD , json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD ) |
Public Attributes inherited from SleepyDiscord::MessageParams< SendMessageParams >
Name | |
---|---|
Snowflake< Channel > | channelID |
std::string | content |
Embed | embed |
AllowedMentions | allowedMentions |
std::vector< std::shared_ptr< BaseComponent > > | components |
Public Functions Documentation​
function std::tuple_cat​
JSONStructStart std::tuple_cat(
MessageParams< SendMessageParams >::JSONStruct ,
std::make_tuple(json::pair(&SendMessageParams::tts, "tts", json::OPTIONAL_FIELD), json::pair(&SendMessageParams::messageReference, "message_reference", json::OPTIONAL_FIELD))
)
Public Attributes Documentation​
variable tts​
bool tts = false;
variable messageReference​
MessageReference messageReference;
Updated on 13 April 2022 at 18:39:59 UTC