Table of Contents

Class Sticker

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents a discord sticker.

public class Sticker : RestEntity<ulong>, IEntity<ulong>, ISticker, IStickerItem
Inheritance
Sticker
Implements
Derived
Inherited Members

Properties

Description

Gets the description of this sticker.

public string Description { get; protected set; }

Property Value

string

A string with the description of this sticker.

Format

Gets the format type of this sticker.

public StickerFormatType Format { get; protected set; }

Property Value

StickerFormatType

A StickerFormatType with the format type of this sticker.

IsAvailable

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

public bool? IsAvailable { get; protected set; }

Property Value

bool?

Name

Gets the name of this sticker.

public string Name { get; protected set; }

Property Value

string

A string with the name of this sticker.

PackId

Gets the ID of the pack of this sticker.

public ulong PackId { get; protected set; }

Property Value

ulong

A snowflake ID associated with the pack of this sticker.

SortOrder

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

public int? SortOrder { get; protected set; }

Property Value

int?

Tags

Gets the list of tags of this sticker.

public IReadOnlyCollection<string> Tags { get; protected set; }

Property Value

IReadOnlyCollection<string>

A read-only list with the tags of this sticker.

Type

Gets the type of this sticker.

public StickerType Type { get; protected set; }

Property Value

StickerType

Methods

GetStickerUrl()

Gets the image url for this sticker.

public string GetStickerUrl()

Returns

string