Sticker

fun Sticker(fileId: String, fileUniqueId: String, width: Int, height: Int, isAnimated: Boolean, thumb: PhotoSize? = null, emoji: String? = null, setName: String? = null, maskPosition: MaskPosition? = null, fileSize: Int? = null)

Parameters

fileId

Identifier for this file, which can be used to download or reuse the file

fileUniqueId

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

width

Sticker width

height

Sticker height

isAnimated

True, if the sticker is animated

thumb

Optional. Sticker thumbnail in the .WEBP or .JPG format

emoji

Optional. Emoji associated with the sticker

setName

Optional. Name of the sticker set to which the sticker belongs

maskPosition

Optional. For mask stickers, the position where the mask should be placed

fileSize

Optional. File size