Class DiscordStickerData
Represents a discord Sticker Structure API model. Docs: https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-structure
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordStickerData : IEquatable<DiscordStickerData>
Properties
| Improve this Doc View SourceAsset
The sticker asset hash.
Declaration
[Obsolete("Deprecated previously the sticker asset hash, now an empty string")]
[JsonPropertyName("asset")]
public string Asset { get; set; }
Property Value
Type | Description |
---|---|
String |
Available
Whether or not the sticker is available.
Declaration
[JsonPropertyName("available")]
public bool? Available { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
Description
Description of the sticker.
Declaration
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
FormatFormatType
Type of sticker format.
Declaration
[JsonPropertyName("format_type")]
public DiscordStickerFormatType FormatFormatType { get; set; }
Property Value
Type | Description |
---|---|
DiscordStickerFormatType |
GuildId
id of the guild that owns this sticker.
Declaration
[JsonPropertyName("guild_id")]
public ulong? GuildId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
Id
Id of the sticker.
Declaration
[JsonPropertyName("id")]
public ulong Id { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Name
Name of the sticker.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
PackId
Id of the pack the sticker is from.
Declaration
[JsonPropertyName("pack_id")]
public ulong? PackId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
SortValue
A sticker's sort order within a pack.
Declaration
[JsonPropertyName("sort_value")]
public int? SortValue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
Tags
For guild stickers, a unicode emoji representing the sticker's expression. for nitro stickers, a comma-separated list of related expressions..
Declaration
[JsonPropertyName("tags")]
public string Tags { get; set; }
Property Value
Type | Description |
---|---|
String |
Type
Type of sticker.
Declaration
[JsonPropertyName("type")]
public DiscordStickerType Type { get; set; }
Property Value
Type | Description |
---|---|
DiscordStickerType |
User
The user that uploaded the sticker.
Declaration
[JsonPropertyName("user")]
public DiscordUserData User { get; set; }
Property Value
Type | Description |
---|---|
DiscordUserData |