Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support API 6.8 and 6.9 #357

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Support API 6.8 and 6.9 #357

merged 1 commit into from
Nov 7, 2023

Conversation

ex0ns
Copy link
Contributor

@ex0ns ex0ns commented Nov 7, 2023

Bot API 6.9

  • Added the new administrator privileges can_post_stories, can_edit_stories and can_delete_stories to the classes ChatMemberAdministrator and ChatAdministratorRights.
  • Added the parameters can_post_stories, can_edit_stories and can_delete_stories to the method promoteChatMember. Currently, bots have no use for these privileges besides assigning them to other administrators.
  • Added the fields from_request and from_attachment_menu to the class WriteAccessAllowed.

Bot API 6.8

  • Added the field story to the class Message for messages with forwarded stories. Currently, it holds no information.
  • Added the field emoji_status_expiration_date to the class Chat.
  • Added the method unpinAllGeneralForumTopicMessages.

Notes: polls are missing from this bot, I will add them in the future, they were added a long time ago in 4.6 https://core.telegram.org/bots/api-changelog#january-23-2020

@ex0ns ex0ns merged commit 7e3fd51 into main Nov 7, 2023
1 check passed
@ex0ns ex0ns deleted the api_6_8_6_9 branch November 7, 2023 22:18
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