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
name
stringThe name of the sticker.
description
stringThe description of the sticker.
tags
stringThe tags of the sticker. This must be a unicode emoji.
imageContents
StreamThe image content of the sticker.
format
DiscordStickerFormatThe image format of the sticker.
reason
stringThe reason this sticker is being created.
Returns
- Task<DiscordMessageSticker>