kotlin-telegram-bot v6.0.1 Release Notes

Release Date: 2020-12-06 // over 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 and canSendPolls fields to ChatMember.
    • ๐Ÿ‘Œ Support latest poll features.
    • โž• Add handler for poll answer updates.
    • โž• Add handler for new chat members.
    • โž• Add sendDice operation.
    • โž• Add dice field to Message.
    • Add can_join_groups, can_read_all_group_messages and supports_inline_queries fields to User.
    • ๐Ÿ‘Œ Support for MarkdownV2 parse mode.
    • โž• Add via_bot field to Message.
    • ๐Ÿ‘Œ 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 to Chat model.
    • โž• Add setChatAdministratorCustomTitle operation.
    • โž• Add a message handler without filter.
    • ๐Ÿ‘Œ Improve library logging.
    • โž• Add CachedPhoto inline query result.
    • โž• Add thumb field to StickerSet.
    • Add media_group_id field to Message.
    • โšก๏ธ 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 from InlineKeyboardButton.
    • ๐Ÿ“‡ Rename parameter audio to videoNote at sendVideoNote.
    • Catch exceptions in handlers.
    • ๐Ÿ›  Fix IllegalArgumentException in getStickerSet method.
    • ๐Ÿ›  Fix sendChatAction method.
    • ๐Ÿ›  Fix chat permissions related API operations.
    • ๐Ÿ›  Fix abnormal error messages.
    • ๐Ÿ›  Fix deleteMessage operation.