Sticker

final case class Sticker(fileId: String, fileUniqueId: String, `type`: String, width: Int, height: Int, isAnimated: Boolean, isVideo: Boolean, thumb: Option[PhotoSize], emoji: Option[Emoji], setName: Option[String], premiumAnimation: Option[File], maskPosition: Option[MaskPosition], customEmojiId: Option[String], fileSize: Option[Long])

This object represents a sticker.

Value parameters:
customEmojiId

Optional. For custom emoji stickers, unique identifier of the custom emoji

emoji

Optional. Emoji associated with the sticker

fileId

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

fileSize

Optional. File size in bytes

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.

height

Sticker height

isAnimated

True, if the sticker is animated

isVideo

True, if the sticker is a video sticker

maskPosition

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

premiumAnimation

Optional. For premium regular stickers, premium animation for the sticker

setName

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

thumb

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

type

Type of the sticker, currently one of “regular”, “mask”, “custom_emoji”. The type of the sticker is independent from its format, which is determined by the fields is_animated and is_video.

width

Sticker width

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product