StickerSet

data class StickerSet(name: String, title: String, isAnimated: Boolean, containsMasks: Boolean, stickers: List<Sticker>, thumb: PhotoSize?)

This object represents a sticker set.

Parameters

name

Sticker set name

title

Sticker set title

isAnimated

True, if the sticker set contains animated stickers

containsMasks

True, if the sticker set contains masks

stickers

List of all set stickers

thumb

Optional. Sticker set thumbnail in the .WEBP or .TGS format

Constructors

StickerSet
Link copied to clipboard
common
fun StickerSet(name: String, title: String, isAnimated: Boolean, containsMasks: Boolean, stickers: List<Sticker> = emptyList(), thumb: PhotoSize? = null)
Sticker set name

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): Boolean
component4
Link copied to clipboard
common
operator fun component4(): Boolean
component5
Link copied to clipboard
common
operator fun component5(): List<Sticker>
component6
Link copied to clipboard
common
operator fun component6(): PhotoSize?
copy
Link copied to clipboard
common
fun copy(name: String, title: String, isAnimated: Boolean, containsMasks: Boolean, stickers: List<Sticker> = emptyList(), thumb: PhotoSize? = null): StickerSet
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

containsMasks
Link copied to clipboard
common
val containsMasks: Boolean
True, if the sticker set contains masks
isAnimated
Link copied to clipboard
common
val isAnimated: Boolean
True, if the sticker set contains animated stickers
name
Link copied to clipboard
common
val name: String
Sticker set name
stickers
Link copied to clipboard
common
val stickers: List<Sticker>
List of all set stickers
thumb
Link copied to clipboard
common
val thumb: PhotoSize? = null
Optional.
title
Link copied to clipboard
common
val title: String
Sticker set title