Skip to main content

SleepyDiscord::Sticker

Inherits from SleepyDiscord::IdentifiableDiscordObject< Sticker >, SleepyDiscord::DiscordObject

inherited members​

Public Types inherited from SleepyDiscord::IdentifiableDiscordObject< Sticker >

Name
using IdentifiableDiscordObject< Derived >Parent
using Snowflake< Derived >Identifier

Public Functions inherited from SleepyDiscord::IdentifiableDiscordObject< Sticker >

Name
IdentifiableDiscordObject() =default
IdentifiableDiscordObject(Snowflake< Derived > id)
operator Snowflake< Derived > &()
boolempty() const
voidmerge(Derived & changes)
template <class DiscordObject >
bool
operator==(const Snowflake< DiscordObject > & right) const
template <class DiscordObject >
bool
operator!=(const Snowflake< DiscordObject > & right) const
booloperator==(const Snowflake< Derived > & right) const
booloperator!=(const Snowflake< Derived > & right) const
booloperator==(const IdentifiableDiscordObject< Derived > & right) const
booloperator!=(const IdentifiableDiscordObject< Derived > & right) const
const TimegetTimestamp()

Public Attributes inherited from SleepyDiscord::IdentifiableDiscordObject< Sticker >

Name
Snowflake< Derived >ID

Public Types Documentation​

enum Type​

EnumeratorValueDescription
NONE0
PNG1
APNG2
LOTTIE3

Public Functions Documentation​

function Sticker​

Sticker() =default

function ~Sticker​

~Sticker()

function Sticker​

Sticker(
const json::Value & json
)

function Sticker​

Sticker(
const nonstd::string_view & json
)

function std::make_tuple​

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

Public Attributes Documentation​

variable packID​

Snowflake< StickerPack > packID;

variable name​

std::string name;

variable description​

std::string description;

variable tags​

std::string tags;

variable format​

enum SleepyDiscord::Sticker::Type format;

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