Table of Contents

Class Sticker

Namespace
NetCord
Assembly
NetCord.dll

Represents a sticker within Discord.

public abstract class Sticker : Entity, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonSticker>
Inheritance
Sticker
Implements
Derived
Inherited Members

Properties

Description

The sticker's description.

public string Description { get; }

Property Value

string

Format

The sticker's image format.

public StickerFormat Format { get; }

Property Value

StickerFormat

Id

The sticker's unique ID.

public override ulong Id { get; }

Property Value

ulong

Name

The sticker's name.

public string Name { get; }

Property Value

string

Tags

A list of sticker tags, used for autocomplete/suggestions.

public IReadOnlyList<string> Tags { get; }

Property Value

IReadOnlyList<string>

Remarks

The total character count for all entries cannot exceed 200.

Methods

GetImageUrl(ImageFormat)

Gets the ImageUrl of a sticker.

public ImageUrl GetImageUrl(ImageFormat format)

Parameters

format ImageFormat

The format of the returned ImageUrl.

Returns

ImageUrl

An ImageUrl pointing to the sticker.

Remarks

This ImageUrl does not support setting size. Sticker GIFs use the media URL instead of the CDN URL.