Skip to content

Releases: pengrad/java-telegram-bot-api

2.1.4

07 Oct 04:57
Compare
Choose a tag to compare
  • Fix GetGameHighScores request #53

Support Gaming Platform

03 Oct 17:23
Compare
Choose a tag to compare
  • New methods setGameScore and getGameHighScores
  • New field callback_game in InlineKeyboardButton, new fields game_short_name and chat_instance in CallbackQuery
  • Added Game, Animation objects. New method sendGame, new object InlineQueryResultGame, new field game in Message
  • Optional field ‘parameters’ of the type ResponseParameters in response
  • New field all_members_are_admins in the Chat object
  • Added caption fields to sendAudio, sendVoice, InlineQueryResultAudio, InlineQueryResultVoice, InlineQueryResultCachedAudio, and InlineQueryResultCachedVoice
  • Added new field switch_inline_query_current_chat in InlineKeyboardButton
  • Use the new url parameter in answerCallbackQuery to create buttons that open your bot with user-specific parameters
  • New method getWebhookInfo to check current webhook status

2.1.2

30 Sep 15:38
Compare
Choose a tag to compare
  • Execute GetUpdates requests with correct read timeout #36
  • Catch all Exceptions in request callback #45
  • Add Listener for updates #21
  • OkHttp 3.4.1
  • Gson 2.7

2.1.1

06 Jun 14:46
Compare
Choose a tag to compare
  • Add optional fileName for all (audio, video, photo, document, voice, sticker)
  • OkHttp 3.3.1

Bot API 2.1

28 May 18:40
Compare
Choose a tag to compare
  • Added new methods: getChat, leaveChat, getChatAdministrators, getChatMember, getChatMembersCount.
  • Added support for edited messages and new mentions from Telegram v.3.9. New fields: edited_message in Update, edit_date in Message, user in MessageEntity. New value text_mention for the type field in MessageEntity.
  • OkHttp 3.3.0
  • Support custom OkHttpClient

2.0.1

10 May 14:37
Compare
Choose a tag to compare
  • Fix generics in request and callbacks
  • Fix send files requests to take String, File or byte[]

Support Bot API 2.0

07 May 18:06
Compare
Choose a tag to compare
  • Bot API 2.0
  • Changes from May 6, 2016
    Added the field emoji to the Sticker object. Your bot can now know the emoji a sticker corresponds to.
    Added the field forwarded_from_chat to the Message object for messages forwarded from channels.

1.3.3

19 Apr 18:08
Compare
Choose a tag to compare
  • Fix error with sending messages with Keyboard on Android

1.3.2

23 Jan 13:59
Compare
Choose a tag to compare
  • HTML formatting for messages

1.3.1

20 Jan 10:17
Compare
Choose a tag to compare
  • ChosenInlineResult support