github avbor/docker-telegram-bot-api v10.0

6 hours ago

Bot API 10.0

Guest Mode

  • Introduced support for guest mode, allowing bots to receive certain messages and issue replies within chats they are not a member of.
  • Added the field supports_guest_queries to the class User.
  • Added the fields guest_bot_caller_user and guest_bot_caller_chat to the class Message.
  • Added the field guest_query_id to the class Message.
  • Added the field guest_message to the class Update.
  • Added the class SentGuestMessage and the method answerGuestQuery.

Chat Management

Polls

  • Added the classes InputMediaSticker, InputMediaLocation, and InputMediaVenue.
  • Added the class PollMedia, representing a media in a poll.
  • Added the field media to the class Poll, allowing bots to see media in polls.
  • Added the field explanation_media to the class Poll, allowing bots to see media in quiz explanations.
  • Added the field media to the class PollOption, allowing bots to see media in poll options.
  • Added the class InputPollMedia and the parameters media and explanation_media to the method sendPoll, allowing bots to add media to polls.
  • Added the class InputPollOptionMedia and the field media to the class InputPollOption, allowing bots to add media to poll options.
  • Added the field members_only to the class Poll.
  • Added the parameter members_only to the method sendPoll.
  • Added the field country_codes to the class Poll.
  • Added the parameter country_codes to the method sendPoll.
  • Decreased the minimum number of poll options from 2 to 1.

Live photos

General

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

NewReleases is sending notifications on new releases.