Class DiscordSticker
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a Discord Sticker.
public class DiscordSticker : SnowflakeObject, IEquatable<DiscordSticker>
- Inheritance
-
DiscordSticker
- Implements
- Inherited Members
Properties
- Asset
Gets the asset hash of the sticker.
- Available
Gets whether this sticker is available. Only applicable to guild stickers.
- Description
Gets the Description of the sticker.
- FormatType
Gets the Format type of the sticker.
- Guild
Gets the guild associated with this sticker, if any.
- GuildId
Gets the guild id the sticker belongs too.
- Name
Gets the Name of the sticker.
- PackId
Gets the Pack ID of this sticker.
- PreviewAsset
Gets the preview asset hash of the sticker.
- SortValue
Gets the sticker's sort order, if it's in a pack.
- Tags
Gets the list of tags for the sticker.
- Type
Gets the type of sticker.
- Url
Gets the url of the sticker.
- User
For guild stickers, gets the user that made the sticker.
Methods
- DeleteAsync(string)
Deletes the sticker
- Equals(DiscordSticker)
Whether to stickers are equal.
- Equals(object)
Checks whether this DiscordSticker is equal to another object.
- GetHashCode()
Gets the hash code of the current sticker.
- ModifyAsync(Optional<string>, Optional<string>, Optional<string>, string)
Modifies the sticker
- ToString()
Gets the sticker in readable format.