Skip to content

Bot API 4.6

Compare
Choose a tag to compare
@pengrad pengrad released this 26 Jan 05:59
· 536 commits to master since this release

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
  • Added the fields total_voter_count, is_anonymous, type, allows_multiple_answers, correct_option_id to the Poll object
  • Added the object KeyboardButtonPollType and the field request_poll to the object KeyboardButton
  • Added updates about changes of user answers in non-anonymous polls, represented by the object PollAnswer and the field poll_answer in the Update object
  • Added more information about the bot in response to the getMe request: added the fields can_join_groups, can_read_all_group_messages and supports_inline_queries to the User object
  • Added the optional field language to the MessageEntity object
  • Set write timeout to 75 secs