Skip to main content

SleepyDiscord::MessageParams

More...

Inherits from SleepyDiscord::DiscordObject

Detailed Description​

template <class Type >
struct SleepyDiscord::MessageParams;

Public Functions Documentation​

function std::make_tuple​

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

Public Attributes Documentation​

variable channelID​

Snowflake< Channel > channelID;

variable content​

std::string content = {};

variable embed​

Embed embed = Embed::Flag::INVALID_EMBED;

variable allowedMentions​

AllowedMentions allowedMentions;

variable components​

std::vector< std::shared_ptr< BaseComponent > > components;

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