Kotlin Telegram Bot Versions Save

🤖 A wrapper for the Telegram Bot API written in Kotlin

6.1.0

11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/kotlin-telegram-bot/kotlin-telegram-bot/compare/6.0.7...6.1.0

6.0.7

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/kotlin-telegram-bot/kotlin-telegram-bot/compare/6.0.6...6.0.7

6.0.6

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/kotlin-telegram-bot/kotlin-telegram-bot/compare/6.0.5...6.0.6

6.0.5

2 years ago

Improvements:

  • sendInvoice, deleteMessage, sendPoll, answerCallbackQuery, deleteChatSticker, setChatStickerSet and getChatMember migrate to TelegramBotResult

Fixes:

  • Potential fix for an issue with the bot not receiving updates after a certain amount of time running.

Features:

  • Added onlyIfBanned field to unbanChatMember operation.
  • Added logout operation.
  • Added allowSendingWithoutReply parameters to several operations.
  • Added sendGame operation.
  • Added stopPoll operation.

6.0.4

3 years ago

Improvements:

  • Extended the TelegramBotResult type. Added isSuccess, isError, getOrDefault, get and fold APIs.
  • setChatAdministratorCustomTitle method migrated to TelegramBotResult.
  • sendDice method migrated to TelegramBotResult.
  • setMyCommands method migrated to TelegramBotResult.
  • getMyCommands method migrated to TelegramBotResult.
  • answerInlineQuery method migrated to TelegramBotResult.
  • answerPrecheckoutQuery method migrated to TelegramBotResult.
  • answerShippingQuery method migrated to TelegramBotResult.

Fixes:

  • canSendOtherMessages field serialization in ChatPermissions class.
  • Catch all throwable in handlers' execution.

Features:

  • Support for sending audio and document albums.
  • bio, linkedChatId and location fields added to Chat class.
  • filename field added to Audio and Video classes.

6.0.3

3 years ago

Fixes:

  • Use a Long for the date field in Message class.

Features:

  • Bowling emoji for sendDice method.
  • copyMessage method.
  • messageId parameter added to unpinChatMessage method.
  • unpinAllChatMessages method.
  • senderChat and authorSignature fields added to Message class.
  • isAnonymous added to promoteChatMember method and ChatMember class.
  • ChatId class to represent a chat id or a channel usernames for api methods.

6.0.2

3 years ago

Fixes:

Features:

6.0.1

3 years ago

This release contains a fix for a crash when processing updates with inline keyboard button object/s received through a webhook

6.0.0

3 years ago

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.

5.0.0

4 years ago

Changelog

There are several important changes and additions to the library in this release. The package name has been changed from me.ivmg.kotlin-telegram-bot to com.github.kotlintelegrambot. Also, support for webhooks to listen updates has been added to the library.

Features

  • Support for webhooks to receive updates #52

Enhancements

  • Fix sendMediaGroup operation #60
  • Change package name to com.github.kotlintelegrambot #58
  • Format code fragments #59
  • Update Kotlin version #57