kotlin-telegram-bot v6.0.1 Release Notes
Release Date: 2020-12-06 // almost 3 years ago-
๐ This release contains a fix for a crash when processing updates with inline keyboard button object/s received through a webhook
Previous changes from v6.0.0
-
๐ This release mainly consists of the refactor of updates handlers to convert them in functions with receivers and bring type safety to them, improvements in the library logging to enable customisation of logging for library users, the update to Kotlin 1.4.10, general improvements and bug fixing.
๐ Features
- โ Add
customTitle
andcanSendPolls
fields toChatMember
. - ๐ Support latest poll features.
- โ Add handler for poll answer updates.
- โ Add handler for new chat members.
- โ Add
sendDice
operation. - โ Add
dice
field toMessage
. - Add
can_join_groups
,can_read_all_group_messages
andsupports_inline_queries
fields toUser
. - ๐ Support for MarkdownV2 parse mode.
- โ Add
via_bot
field toMessage
. - ๐ Support video thumbnails for inline GIF and MPEG4 animations.
- ๐ Support all the new random dice animations (basketball, football and slot machine).
- ๐ Support file unique ids.
- Add
slow_mode_delay
field toChat
model. - โ Add
setChatAdministratorCustomTitle
operation. - โ Add a message handler without filter.
- ๐ Improve library logging.
- โ Add
CachedPhoto
inline query result. - โ Add
thumb
field toStickerSet
. - Add
media_group_id
field toMessage
. - โก๏ธ Update Kotlin version to 1.4.1.
- ๐ Support to send text messages by channel username.
- ๐ Handlers to functions with receivers.
- ๐ Better types for
InlineKeyboardButton
.
๐ Bug fixes
- โ Remove
ReplyMarkup
interface fromInlineKeyboardButton
. - ๐ Rename parameter
audio
tovideoNote
atsendVideoNote
. - Catch exceptions in handlers.
- ๐ Fix
IllegalArgumentException
ingetStickerSet
method. - ๐ Fix
sendChatAction
method. - ๐ Fix chat permissions related API operations.
- ๐ Fix abnormal error messages.
- ๐ Fix
deleteMessage
operation.
- โ Add