Method CreateStickerAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
CreateStickerAsync(string, string, string, Stream, DiscordStickerFormat, string?)
Creates a sticker in this guild. Lottie stickers can only be created on verified and/or partnered servers.
public Task<DiscordMessageSticker> CreateStickerAsync(string name, string description, string tags, Stream imageContents, DiscordStickerFormat format, string? reason = null)
Parameters
namestringThe name of the sticker.
descriptionstringThe description of the sticker.
tagsstringThe tags of the sticker. This must be a unicode emoji.
imageContentsStreamThe image content of the sticker.
formatDiscordStickerFormatThe image format of the sticker.
reasonstringThe reason this sticker is being created.