TelegramBotAPI v0.26.0 Release Notes
-
Common
:- Versions updates:
Klock
:1.10.0
->1.10.3
- Versions updates:
TelegramBotAPI
:- Request
SendDice
was added (calling sendDice) - Class
Dice
was added (type dice) - Class
DiceContent
was added (for including it in message object) BotCommand
was addedGetMyCommands
request was addedSetMyCommands
request was addedGetMe
now is object instead of classGetMe
was replaced into packagecom.github.insanusmokrassar.TelegramBotAPI.requests.bot.GetMe
CreateNewStickerSet
renamed toCreateStaticNewStickerSet
CreateNewAnimatedStickerSet
request was added (it handle work withtgs_sticker
)StickerSet#thumb
was addedAddStickerToSet
renamed toAddStaticStickerToSet
AddAnimatedStickerToSet
request was addedSetStickerSetThumb
request was added- Most of sticker actions now implements
StandardStickerSetAction
instead ofStickerSetAction
getUpdatesLimit
was added to be ensure in get updates limitGetUpdates
now will check count of requesting updates and throw exception if it is not in range1 .. 100
GetUpdates#limit
now is not nullable and by default set up to 100
- Request
TelegramBotAPI-extensions-api
:- Extensions
sendDice
was added - Extension
getMyCommands
request was added - Extension
setMyCommands
request was added - Extension
getMe
was replaced into packagecom.github.insanusmokrassar.TelegramBotAPI.extensions.api.bot.GetMeKt.getMe
- All extensions
createNewStickerSet
was renamed tocreateNewStaticStickerSet
- Extensions
createNewAnimatedStickerSet
was added - All extensions
addStickerToSet
was renamed toaddStaticStickerToSet
- Extensions
addAnimatedStickerToSet
was added - Extensions
setStickerSetThumb
was added - Extension
startGettingUpdates
now will dropSentMediaGroupUpdate
in case if it is the last in updates group and size of retrieved updates is equal to 100 (max count of retrieved updates) - Extensions
getUpdates
now will receive only not nullablelimit
parameter
- Extensions