1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-03 00:15:27 +00:00
tgbotapi/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/stickers/StickerSet.kt

26 lines
732 B
Kotlin
Raw Normal View History

2020-10-04 11:06:30 +00:00
package dev.inmo.tgbotapi.types.stickers
2018-12-26 08:07:24 +00:00
2020-10-04 11:06:30 +00:00
import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.types.files.PhotoSize
2022-02-01 10:23:26 +00:00
import dev.inmo.tgbotapi.types.files.sticker.Sticker
2019-04-13 02:21:19 +00:00
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
2018-12-26 08:07:24 +00:00
@Serializable
data class StickerSet(
@SerialName(nameField)
val name: String,
@SerialName(titleField)
val title: String,
@SerialName(stickersField)
val stickers: List<Sticker>,
@SerialName(isAnimatedField)
val isAnimated: Boolean = false,
2022-02-01 10:23:26 +00:00
@SerialName(isVideoField)
val isVideo: Boolean = false,
2018-12-26 08:07:24 +00:00
@SerialName(containsMasksField)
2020-03-30 16:07:13 +00:00
val containsMasks: Boolean = false,
@SerialName(thumbField)
val thumb: PhotoSize? = null
2018-12-26 08:07:24 +00:00
)