Skip to main content

SleepyDiscord::InteractionCallback::EditMessage

Inherits from SleepyDiscord::BaseEditWebhookParams< EditWebhookParams >, SleepyDiscord::DiscordObject

inherited members​

Public Functions inherited from SleepyDiscord::BaseEditWebhookParams< EditWebhookParams >

Name
JSONStructStartstd::make_tuple(json::pair< json::OptionalTypeHelper > &::, "", ::OPTIONAL_FIELD , json::ComplexPair< json::OptionalTypeHelper, json::ContainerTypeHelper >::pair &::, "", ::OPTIONAL_FIELD , json::pair &::, "", ::OPTIONAL_FIELD , json::ComplexPair< json::OptionalTypeHelper, json::ContainerTypeHelper >::pair &::, "", ::OPTIONAL_FIELD )

Public Attributes inherited from SleepyDiscord::BaseEditWebhookParams< EditWebhookParams >

Name
tl::optional< std::string >content
tl::optional< std::vector< Embed > >embeds
AllowedMentionsallowedMentions
tl::optional< std::vector< std::shared_ptr< BaseComponent > > >components

Public Functions Documentation​

function EditMessage​

EditMessage() =default

function EditMessage​

EditMessage(
json::Value & json
)

function EditMessage​

inline EditMessage(
const nonstd::string_view & json
)

function empty​

inline const bool empty() const

function std::tuple_cat​

JSONStructStart std::tuple_cat(
BaseEditWebhookParams< EditWebhookParams >::JSONStruct ,
std::make_tuple(json::pair< json::EnumTypeHelper >(&EditMessage::flags, "flags", json::OPTIONAL_FIELD))
)

Public Attributes Documentation​

variable flags​

Message::Flags flags = Message::Flags::UNDEFINED;

Updated on 13 April 2022 at 18:39:59 UTC