Skip to main content

SleepyDiscord::InteractionCallback::Message

Inherits from SleepyDiscord::WebHookParams, SleepyDiscord::BaseWebHookParams< WebHookParams >, SleepyDiscord::DiscordObject

inherited members​

Public Functions inherited from SleepyDiscord::WebHookParams

Name
JSONStructStartstd::tuple_cat(BaseWebHookParams< WebHookParams >::JSONStruct , std::make_tuple(json::pair(&WebHookParams::username, "username", json::OPTIONAL_FIELD), json::pair(&WebHookParams::avatarURL, "avatar_url", json::OPTIONAL_FIELD)) )

Public Attributes inherited from SleepyDiscord::WebHookParams

Name
std::stringusername
std::stringavatarURL

Public Attributes inherited from SleepyDiscord::BaseWebHookParams< WebHookParams >

Name
std::stringcontent
std::vector< Embed >embeds
AllowedMentionsallowedMentions
std::vector< std::shared_ptr< BaseComponent > >components

Public Types Documentation​

enum Flags​

EnumeratorValueDescription
UNDEFINED-1
NONE0
Ephemeral1 << 6

Public Functions Documentation​

function Message​

Message() =default

function Message​

Message(
json::Value & json
)

function Message​

inline Message(
const nonstd::string_view & json
)

function empty​

inline const bool empty() const

function std::make_tuple​

JSONStructStart std::make_tuple(
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD ,
json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD
)

Public Attributes Documentation​

variable tts​

bool tts = false;

variable flags​

enum SleepyDiscord::InteractionCallback::Message::Flags flags = Flags::UNDEFINED;

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