Sticker

data class Sticker(file_id: String, file_unique_id: String, width: Long, height: Long, is_animated: Boolean, thumb: PhotoSize?, emoji: String?, set_name: String?, mask_position: MaskPosition?, file_size: Long?) : TelegramModel

This object represents a sticker.

Constructors

Sticker
Link copied to clipboard
fun Sticker(file_id: String, file_unique_id: String, width: Long, height: Long, is_animated: Boolean, thumb: PhotoSize? = null, emoji: String? = null, set_name: String? = null, mask_position: MaskPosition? = null, file_size: Long? = null)
Creates a Sticker.

Properties

emoji
Link copied to clipboard
val emoji: String? = null
Optional.
file_id
Link copied to clipboard
val file_id: String
Identifier for this file, which can be used to download or reuse the file
file_size
Link copied to clipboard
val file_size: Long? = null
Optional.
file_unique_id
Link copied to clipboard
val file_unique_id: String
Unique identifier for this file, which is supposed to be the same over time and for different bots.
height
Link copied to clipboard
val height: Long
Sticker height
is_animated
Link copied to clipboard
val is_animated: Boolean
True, if the sticker is
mask_position
Link copied to clipboard
val mask_position: MaskPosition? = null
Optional.
set_name
Link copied to clipboard
val set_name: String? = null
Optional.
thumb
Link copied to clipboard
val thumb: PhotoSize? = null
Optional.
width
Link copied to clipboard
val width: Long
Sticker width