Class SocketSticker
Represents a general sticker received over the gateway.
public class SocketSticker : SocketEntity<ulong>, IEntity<ulong>, ISticker, IStickerItem
- Inheritance
-
SocketSticker
- Implements
- Derived
- Inherited Members
Properties
Description
Gets the description of this sticker.
public virtual string Description { get; }
Property Value
Format
Gets the format type of this sticker.
public StickerFormatType Format { get; protected set; }
Property Value
- StickerFormatType
A StickerFormatType with the format type of this sticker.
IsAvailable
Gets whether this guild sticker can be used, may be false due to loss of Server Boosts.
public virtual bool? IsAvailable { get; protected set; }
Property Value
- bool?
Name
Gets the name of this sticker.
public string Name { get; protected set; }
Property Value
PackId
Gets the ID of the pack of this sticker.
public virtual 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 virtual int? SortOrder { get; }
Property Value
- int?
Tags
Gets the list of tags of this sticker.
public virtual IReadOnlyCollection<string> Tags { get; }
Property Value
- IReadOnlyCollection<string>
A read-only list with the tags of this sticker.
Type
Gets the type of this sticker.
public virtual StickerType Type { get; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetStickerUrl()
Gets the image url for this sticker.
public string GetStickerUrl()