1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

add StickerSet#thumb

This commit is contained in:
InsanusMokrassar 2020-03-30 22:07:13 +06:00
parent f6692a22d1
commit e60630b331
2 changed files with 5 additions and 1 deletions

View File

@ -38,6 +38,7 @@
* `GetMe` was replaced into package `com.github.insanusmokrassar.TelegramBotAPI.requests.bot.GetMe` * `GetMe` was replaced into package `com.github.insanusmokrassar.TelegramBotAPI.requests.bot.GetMe`
* `CreateNewStickerSet` renamed to `CreateStaticNewStickerSet` * `CreateNewStickerSet` renamed to `CreateStaticNewStickerSet`
* `CreateNewAnimatedStickerSet` request was added (it handle work with `tgs_sticker`) * `CreateNewAnimatedStickerSet` request was added (it handle work with `tgs_sticker`)
* `StickerSet#thumb` was added
* `TelegramBotAPI-extensions-api`: * `TelegramBotAPI-extensions-api`:
* Extensions `sendDice` was added * Extensions `sendDice` was added
* Extension `getMyCommands` request was added * Extension `getMyCommands` request was added

View File

@ -1,6 +1,7 @@
package com.github.insanusmokrassar.TelegramBotAPI.types.stickers package com.github.insanusmokrassar.TelegramBotAPI.types.stickers
import com.github.insanusmokrassar.TelegramBotAPI.types.* import com.github.insanusmokrassar.TelegramBotAPI.types.*
import com.github.insanusmokrassar.TelegramBotAPI.types.files.PhotoSize
import com.github.insanusmokrassar.TelegramBotAPI.types.files.Sticker import com.github.insanusmokrassar.TelegramBotAPI.types.files.Sticker
import kotlinx.serialization.SerialName import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@ -16,5 +17,7 @@ data class StickerSet(
@SerialName(isAnimatedField) @SerialName(isAnimatedField)
val isAnimated: Boolean = false, val isAnimated: Boolean = false,
@SerialName(containsMasksField) @SerialName(containsMasksField)
val containsMasks: Boolean = false val containsMasks: Boolean = false,
@SerialName(thumbField)
val thumb: PhotoSize? = null
) )