Skip to content

Botapi 10.0#2592

Open
coder2020official wants to merge 23 commits into
eternnoir:masterfrom
coder2020official:botapi-10
Open

Botapi 10.0#2592
coder2020official wants to merge 23 commits into
eternnoir:masterfrom
coder2020official:botapi-10

Conversation

@coder2020official
Copy link
Copy Markdown
Collaborator

@coder2020official coder2020official commented May 10, 2026

May 8, 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

@coder2020official coder2020official requested a review from Badiboy May 10, 2026 18:15
@coder2020official
Copy link
Copy Markdown
Collaborator Author

@Badiboy I'm done, please check

@Badiboy
Copy link
Copy Markdown
Collaborator

Badiboy commented May 10, 2026

Took it.

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.

2 participants