Skip to main content

Class SocketUnknownSticker

Represents an unknown sticker received over the gateway.

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

Properties​

Tags​

Gets the list of tags of this sticker.

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

Description​

Gets the description of this sticker.

View Source​
Declaration
public override string Description { get; }

PackId​

Gets the ID of the pack of this sticker.

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

IsAvailable​

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

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

SortOrder​

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

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

Type​

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

Methods​

ResolveAsync(CacheMode, RequestOptions)​

Attempts to try to find the sticker.

View Source​
Declaration
public Task<SocketSticker> ResolveAsync(CacheMode mode = CacheMode.AllowDownload, RequestOptions options = null)
Returns​

System.Threading.Tasks.Task<Discord.WebSocket.SocketSticker>: The sticker representing this unknown stickers Id, if none is found then null.

Parameters​
TypeName
Discord.CacheModemode
Discord.RequestOptionsoptions

Implements​