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
Format
The sticker's image format.
public StickerFormat Format { get; }
Property Value
Id
The sticker's unique ID.
public override ulong Id { get; }
Property Value
Name
The sticker's name.
public string Name { get; }
Property Value
Tags
A list of sticker tags, used for autocomplete/suggestions.
public IReadOnlyList<string> Tags { get; }
Property Value
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
formatImageFormatThe format of the returned ImageUrl.
Returns
Remarks
This ImageUrl does not support setting size. Sticker GIFs use the media URL instead of the CDN URL.