SleepyDiscord::InteractionCallback::Message
Inherits from SleepyDiscord::WebHookParams, SleepyDiscord::BaseWebHookParams< WebHookParams >, SleepyDiscord::DiscordObject
inherited members​
Public Functions inherited from SleepyDiscord::WebHookParams
Name | |
---|---|
JSONStructStart | std::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::string | username |
std::string | avatarURL |
Public Attributes inherited from SleepyDiscord::BaseWebHookParams< WebHookParams >
Name | |
---|---|
std::string | content |
std::vector< Embed > | embeds |
AllowedMentions | allowedMentions |
std::vector< std::shared_ptr< BaseComponent > > | components |
Public Types Documentation​
enum Flags​
Enumerator | Value | Description |
---|---|---|
UNDEFINED | -1 | |
NONE | 0 | |
Ephemeral | 1 << 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