Skip to content

[api] Support v6.0#211

Merged
ex0ns merged 4 commits intomasterfrom
api_6_0
Jun 25, 2022
Merged

[api] Support v6.0#211
ex0ns merged 4 commits intomasterfrom
api_6_0

Conversation

@ex0ns
Copy link
Contributor

@ex0ns ex0ns commented May 16, 2022

https://core.telegram.org/bots/api#april-16-2022

  • Added support for Web Apps, see the detailed manual here. (blog announcement)
  • Added the class WebAppInfo and the fields web_app to the classes KeyboardButton and InlineKeyboardButton.
  • Added the class SentWebAppMessage and the method answerWebAppQuery for sending an answer to a Web App query, which originated from an inline button of the 'web_app' type.
  • Added the class WebAppData and the field web_app_data to the class Message.
  • Added the class MenuButton and the methods setChatMenuButton and getChatMenuButton for managing the behavior of the bot's menu button in private chats.
  • Added the class ChatAdministratorRights and the methods setMyDefaultAdministratorRights and getMyDefaultAdministratorRights for managing the bot's default administrator rights.
  • Added support for t.me links that can be used to add the bot to groups and channels as an administrator.
  • Added the field last_synchronization_error_date to the class WebhookInfo.
  • Renamed the field can_manage_voice_chats to can_manage_video_chats in the class ChatMemberAdministrator. The old field will remain temporarily available.
  • Renamed the parameter can_manage_voice_chats to can_manage_video_chats in the method promoteChatMember. The old parameter will remain temporarily available.
  • Renamed the fields voice_chat_scheduled, voice_chat_started, voice_chat_ended, and voice_chat_participants_invited to video_chat_scheduled, video_chat_started, video_chat_ended, and video_chat_participants_invited in the class Message. The old fields will remain temporarily available.

@ex0ns ex0ns marked this pull request as draft May 16, 2022 08:09
@ex0ns ex0ns marked this pull request as ready for review June 25, 2022 16:49
@ex0ns ex0ns merged commit 0d8a679 into master Jun 25, 2022
@ex0ns ex0ns deleted the api_6_0 branch June 25, 2022 17:17
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