Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps java-telegram-bot-api from 4.5.0 to 5.1.0.

Release notes

Sourced from java-telegram-bot-api's releases.

Bot API 5.1

5.0.1

  • Add non-args constructors to prevent Gson exception #222

Bot API 5.0

https://core.telegram.org/bots/api-changelog#november-4-2020

  • Add simple constructors for InlineKeyboardMarkup, ReplyKeyboardMarkup
  • Keyboard improvements + generics (#209). Thanks @marcovaneck
  • Use java Logger in UpdatesHandler, close #210
  • Use String for InputTextMessageContent.parse_mode
  • Fix enum name() in SendPoll

Bot API 4.9

https://core.telegram.org/bots/api-changelog#june-4-2020

  • Java 8 target compatibility
  • Added the new field via_bot to the Message object. You can now know which bot was used to send a message.
  • Supported video thumbnails for inline GIF and MPEG4 animations.
  • Supported the new basketball animation for the random dice. Choose between different animations (dice, darts, basketball) by specifying the emoji parameter in the method sendDice.

Bot API 4.8

https://core.telegram.org/bots/api-changelog#april-24-2020

  • Supported explanations for Quizzes 2.0. Add explanations by specifying the parameters explanation and explanation_parse_mode in the method sendPoll.
  • Added the fields explanation and explanation_entities to the Poll object.
  • Supported timed polls that automatically close at a certain date and time. Set up by specifying the parameter open_period or close_date in the method sendPoll.
  • Added the fields open_period and close_date to the Poll object.
  • Supported the new darts animation for the dice mini-game. Choose between the default dice animation and darts animation by specifying the parameter emoji in the method sendDice.
  • Added the field emoji to the Dice object.

Bot API 4.7

https://core.telegram.org/bots/api#march-30-2020

  • Added the method sendDice for sending a dice message, which will have a random value from 1 to 6
  • Added the field dice to the Message object
  • Added the method getMyCommands for getting the current list of the bot's commands. Added the method setMyCommands for changing the list of the bot's commands through the Bot API
  • Added the ability to create animated sticker sets by specifying the parameter tgs_sticker instead of png_sticker in the method createNewStickerSet
  • Added the ability to add animated stickers to sets created by the bot by specifying the parameter tgs_sticker instead of png_sticker in the method addStickerToSet
  • Added the field thumb to the StickerSet object
  • Added the ability to change thumbnails of sticker sets created by the bot using the method setStickerSetThumb
  • Update to Gson 2.8.6, OkHttp 3.12.10

Bot API 4.6

https://core.telegram.org/bots/api#january-23-2020

  • Added the ability to send non-anonymous, multiple answer, and quiz-style polls: added the parameters is_anonymous, type, allows_multiple_answers, correct_option_id, is_closed options to the method sendPoll

... (truncated)

Commits
  • 82a949b Version 5.1.0
  • b65ed48 Fix equals ModelTest
  • 9fa6b32 Supported the new bowling animation for the random dice.
  • 6cf1e8d Added the parameter revoke_messages to the method kickChatMember, allowing to...
  • 9a69fbc Added the type MessageAutoDeleteTimerChanged and the field message_auto_delet...
  • 472732d Added the new administrator privilege can_manage_voice_chats to the class Cha...
  • 2502b69 Added the type VoiceChatStarted and the field voice_chat_started to the class...
  • 22faea9 Added the method createChatInviteLink, which can be used to create new invite...
  • 4d9af04 Added updates about member status changes in chats, represented by the class ...
  • 7362838 Added the class ChatInviteLink, representing an invite link to a chat.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 10, 2021
@dependabot-preview dependabot-preview bot requested a review from dianw March 10, 2021 22:13
@dependabot-preview
Copy link
Contributor Author

Superseded by #125.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/com.github.pengrad-java-telegram-bot-api-5.1.0 branch July 7, 2021 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants