github avbor/docker-telegram-bot-api v9.6

29 days ago

Bot API 9.6

Managed Bots

Polls

  • Added support for quizzes with multiple correct answers.
  • Replaced the field correct_option_id with the field correct_option_ids in the class Poll.
  • Replaced the parameter correct_option_id with the parameter correct_option_ids in the method sendPoll.
  • Allowed to pass allows_multiple_answers for quizzes in the method sendPoll.
  • Increased the maximum time for automatic poll closure to 2628000 seconds.
  • Added the field allows_revoting to the class Poll.
  • Added the parameter allows_revoting to the method sendPoll.
  • Added the parameter shuffle_options to the method sendPoll.
  • Added the parameter allow_adding_options to the method sendPoll.
  • Added the parameter hide_results_until_closes to the method sendPoll.
  • Added the fields description and description_entities to the class Poll.
  • Added the parameters description, description_parse_mode, and description_entities to the method sendPoll.
  • Added the field persistent_id to the class PollOption, representing a persistent identifier for the option.
  • Added the field option_persistent_ids to the class PollAnswer.
  • Added the fields added_by_user and added_by_chat to the class PollOption, denoting the user and the chat which added the option.
  • Added the field addition_date to the class PollOption, describing the date when the option was added.
  • Added the class PollOptionAdded and the field poll_option_added to the class Message.
  • Added the class PollOptionDeleted and the field poll_option_deleted to the class Message.
  • Added the field poll_option_id to the class ReplyParameters, allowing bots to reply to a specific poll option.
  • Added the field reply_to_poll_option_id to the class Message.
  • Allowed “date_time” entities in checklist title, checklist task text, TextQuote, ReplyParameters quote, sendGift, and giftPremiumSubscription.

Don't miss a new docker-telegram-bot-api release

NewReleases is sending notifications on new releases.