Sticker

telegramium.bots.Sticker
final case class Sticker(fileId: String, fileUniqueId: String, `type`: String, width: Int, height: Int, isAnimated: Boolean, isVideo: Boolean, thumbnail: Option[PhotoSize], emoji: Option[String], setName: Option[String], premiumAnimation: Option[File], maskPosition: Option[MaskPosition], customEmojiId: Option[String], needsRepainting: Option[Boolean], 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

needsRepainting

Optional. True, if the sticker must be repainted to a text color in messages, the color of the Telegram Premium badge in emoji status, white color on chat photos, or another appropriate color in other places

premiumAnimation

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

setName

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

thumbnail

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product