View Source Nostrum.Struct.Message.Sticker (Nostrum v0.8.0)
A Nostrum.Struct.Message.Sticker
represents a sticker that can be sent inside a Nostrum.Struct.Message
.
More information can be found on the Discord API Sticker Object Documentation.
Link to this section Summary
Types
Whether this guild sticker can be used, may be false due to loss of Server Boosts
Description of the sticker
Id of the guild that owns this sticker
Id of the sticker
Name of the sticker
Id of the pack the sticker is from
The sticker's sort order within its pack
Discord name of a unicode emoji representing the sticker's expression. for standard stickers, a comma-separated list of related expressions.
User that uploaded the guild sticker
Link to this section Types
@type available() :: boolean()
Whether this guild sticker can be used, may be false due to loss of Server Boosts
@type description() :: String.t() | nil
Description of the sticker
@type format_type() :: integer()
Discord API Sticker Object Format Type Documentation
1
-PNG
2
-APNG
3
-LOTTIE
@type guild_id() :: Nostrum.Struct.Guild.id() | nil
Id of the guild that owns this sticker
@type id() :: Nostrum.Snowflake.t()
Id of the sticker
@type name() :: String.t() | nil
Name of the sticker
@type pack_id() :: Nostrum.Snowflake.t()
Id of the pack the sticker is from
@type sort_value() :: integer()
The sticker's sort order within its pack
@type t() :: %Nostrum.Struct.Message.Sticker{ available: available(), description: description(), format_type: format_type(), guild_id: guild_id(), id: id(), name: name(), pack_id: pack_id(), sort_value: sort_value(), tags: tags(), type: type(), user: user() }
@type tags() :: String.t() | nil
Discord name of a unicode emoji representing the sticker's expression. for standard stickers, a comma-separated list of related expressions.
@type type() :: integer()
Discord API Sticker Object Type Documentation
1
-STANDARD
an official sticker in a pack, part of Nitro or in a removed purchasable pack2
-GUILD
a sticker uploaded to a Boosted guild for the guild's members
@type user() :: Nostrum.Struct.User.t()
User that uploaded the guild sticker