Skip to content

Bot API 4.3

Compare
Choose a tag to compare
@pengrad pengrad released this 04 Jun 18:20
· 473 commits to master since this release
  • Added the new object LoginUrl and the new field login_url to the InlineKeyboardButton object
  • Added the field reply_markup to the Message object, containing the inline keyboard attached to the message

Library changes:

  • Log response errors and failures in UpdateHandler. Closes #161
  • Stop catching client onResponse exceptions in network callback. This will prevent delivering client exceptions into onFailure callback, which is supposed to handle network or library errors only
  • Change Base64 implementation (used in Passport decrypt) to AOSP, remove encoding methods
  • Remove deprecated code. #165
    Remove TelegramBotAdapter class, use TelegramBot.Builder.
    Remove ReplyKeyboardHide class, use ReplyKeyboardRemove.
    Remove EditMessageReplyMarkup constructor with text.
    Remove EditMessageCaption constructor with text.
    Remove Message.newChatMember, use newChatMembers.
    Remove Credentials.payload, use nonce.
    Remove SetGameScore.editMessage(), use disableEditMessage.