Skip to content

34.0.0#362

Open
InsanusMokrassar wants to merge 2 commits into
masterfrom
34.0.0
Open

34.0.0#362
InsanusMokrassar wants to merge 2 commits into
masterfrom
34.0.0

Conversation

@InsanusMokrassar
Copy link
Copy Markdown
Owner

@InsanusMokrassar InsanusMokrassar commented May 20, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant