SleepyDiscord::AllowedMentions
Public Types Documentation​
enum MentionReplierFlag​
Enumerator | Value | Description |
---|---|---|
NotSet | -2 | |
WillNotMentionReply | false | |
MentionReply | true |
using ParseValueType​
using SleepyDiscord::AllowedMentions::ParseValueType = std::string;
using ParseContainer​
using SleepyDiscord::AllowedMentions::ParseContainer = std::vector<std::string>;
Public Functions Documentation​
function AllowedMentions​
AllowedMentions() =default
function ~AllowedMentions​
~AllowedMentions() =default
function AllowedMentions​
inline AllowedMentions(
int
)
function AllowedMentions​
AllowedMentions(
const json::Value & json
)
function AllowedMentions​
inline AllowedMentions(
const nonstd::string_view & json
)
function std::make_tuple​
JSONStructStart std::make_tuple(
json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD ,
json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD ,
json::pair< json::ContainerTypeHelper > &::, "", ::OPTIONAL_FIELD ,
json::pair< json::EnumTypeHelper > &::, "", ::OPTIONAL_FIELD
)
function empty​
inline const JSONStructEnd bool empty() const
Public Attributes Documentation​
variable parse​
ParseContainer parse = {""};
variable roles​
std::vector< Snowflake< Role > > roles;
variable users​
std::vector< Snowflake< User > > users;
variable repliedUser​
MentionReplierFlag repliedUser = MentionReplierFlag::NotSet;
Updated on 13 April 2022 at 18:39:58 UTC