Skip to main content

Class SocketSticker

Represents a general sticker received over the gateway.

Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketSticker : SocketEntity<ulong>, IEntity<ulong>, ISticker, IStickerItem

Properties​

PackId​

Gets the ID of the pack of this sticker.

View Source​
Declaration
public virtual ulong PackId { get; }

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 virtual string Description { get; }

Tags​

Gets the list of tags of this sticker.

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

Type​

Gets the type of this sticker.

View Source​
Declaration
public virtual StickerType Type { get; }

Format​

Gets the format type of this sticker.

View Source​
Declaration
public StickerFormatType Format { 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 virtual bool? IsAvailable { get; protected set; }

SortOrder​

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

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

Methods​

GetStickerUrl()​

Gets the image url for this sticker.

View Source​
Declaration
public string GetStickerUrl()
Returns​

System.String

Equals(Object)​

View Source​
Declaration
public override bool Equals(object obj)
Returns​

System.Boolean

Parameters​
TypeName
System.Objectobj

Implements​