mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
add StickerSet#thumb
This commit is contained in:
parent
f6692a22d1
commit
e60630b331
@ -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
|
||||||
|
@ -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
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user