Skip to main content

Class Sticker

Represents a discord sticker.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class Sticker : RestEntity<ulong>, IEntity<ulong>, ISticker, IStickerItem

Properties​

PackId​

Gets the ID of the pack of this sticker.

View Source​
Declaration
public ulong PackId { get; protected set; }

Name​

Gets the name of this sticker.

View Source​
Declaration
public string Name { get; protected set; }

Description​

Gets the description of this sticker.

View Source​
Declaration
public string Description { get; protected set; }

Tags​

Gets the list of tags of this sticker.

View Source​
Declaration
public IReadOnlyCollection<string> Tags { get; protected set; }

Type​

Gets the type of this sticker.

View Source​
Declaration
public StickerType Type { get; protected set; }

IsAvailable​

Gets whether this guild sticker can be used, may be false due to loss of Server Boosts.

View Source​
Declaration
public bool? IsAvailable { get; protected set; }

SortOrder​

Gets the standard sticker's sort order within its pack.

View Source​
Declaration
public int? SortOrder { get; protected set; }

Format​

Gets the format type of this sticker.

View Source​
Declaration
public StickerFormatType Format { get; protected set; }

Methods​

GetStickerUrl()​

Gets the image url for this sticker.

View Source​
Declaration
public string GetStickerUrl()
Returns​

System.String

Implements​