MaskSimpleSticker

@Serializable
data class MaskSimpleSticker(val fileId: FileId, val fileUniqueId: TgFileUniqueId, val width: Int, val height: Int, val maskPosition: MaskPosition? = null, val thumbnail: PhotoSize? = null, val emoji: String? = null, val stickerSetName: StickerSetName? = null, val fileSize: Long? = null) : MaskSticker

Constructors

Link copied to clipboard
constructor(fileId: FileId, fileUniqueId: TgFileUniqueId, width: Int, height: Int, maskPosition: MaskPosition? = null, thumbnail: PhotoSize? = null, emoji: String? = null, stickerSetName: StickerSetName? = null, fileSize: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "emoji")
open override val emoji: String? = null
Link copied to clipboard
@SerialName(value = "file_id")
open override val fileId: FileId
Link copied to clipboard
@SerialName(value = "file_size")
open override val fileSize: Long? = null
Link copied to clipboard
@SerialName(value = "file_unique_id")
open override val fileUniqueId: TgFileUniqueId
Link copied to clipboard
@SerialName(value = "height")
open override val height: Int
Link copied to clipboard
Link copied to clipboard
open val isVideo: Boolean
Link copied to clipboard
@SerialName(value = "mask_position")
open override val maskPosition: MaskPosition? = null
Link copied to clipboard
@SerialName(value = "sticker_format")
@EncodeDefault
open override val stickerFormat: StickerFormat
Link copied to clipboard
@SerialName(value = "set_name")
open override val stickerSetName: StickerSetName? = null
Link copied to clipboard
@SerialName(value = "thumbnail")
open override val thumbnail: PhotoSize? = null
Link copied to clipboard
@SerialName(value = "sticker_type")
@Serializable(with = StickerType.Serializer::class)
@EncodeDefault
open override val type: StickerType.Mask
Link copied to clipboard
@SerialName(value = "width")
open override val width: Int

Functions

Link copied to clipboard
Link copied to clipboard
open override fun asInputSticker(emojis: List<String>): InputSticker.Mask