SleepyDiscord::EditMessageParams
Inherits from SleepyDiscord::MessageParams< EditMessageParams >, SleepyDiscord::DiscordObject
inherited members​
Public Functions inherited from SleepyDiscord::MessageParams< EditMessageParams >
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< EditMessageParams >
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< EditMessageParams >::JSONStruct ,
std::make_tuple(json::pair< json::EnumTypeHelper >(&EditMessageParams::flags, "flags", json::OPTIONAL_FIELD), json::pair< json::ContainerTypeHelper >(&EditMessageParams::attachments, "attachments", json::OPTIONAL_FIELD))
)
Public Attributes Documentation​
variable messageID​
Snowflake< Message > messageID;
variable flags​
Message::Flags flags = Message::Flags::DEFAULT;
variable attachments​
std::vector< Attachment > attachments;
Updated on 13 April 2022 at 18:39:59 UTC