Class SocketUnknownSticker
Represents an unknown sticker received over the gateway.
public class SocketUnknownSticker : SocketSticker, IEntity<ulong>, ISticker, IStickerItem
- Inheritance
-
SocketUnknownSticker
- Implements
- Inherited Members
Properties
Description
Gets the description of this sticker.
public override string Description { get; }
Property Value
IsAvailable
Gets whether this guild sticker can be used, may be false due to loss of Server Boosts.
public override bool? IsAvailable { get; }
Property Value
- bool?
PackId
Gets the ID of the pack of this sticker.
public override ulong PackId { get; }
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 override int? SortOrder { get; }
Property Value
- int?
Tags
Gets the list of tags of this sticker.
public override IReadOnlyCollection<string> Tags { get; }
Property Value
- IReadOnlyCollection<string>
A read-only list with the tags of this sticker.
Type
public StickerType? Type { get; }
Property Value
Methods
ResolveAsync(CacheMode, RequestOptions)
Attempts to try to find the sticker.
public Task<SocketSticker> ResolveAsync(CacheMode mode = CacheMode.AllowDownload, RequestOptions options = null)
Parameters
mode
CacheModeoptions
RequestOptions
Returns
- Task<SocketSticker>
The sticker representing this unknown stickers Id, if none is found then null.