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 BOT API 7.2 (march 31, 2024) #467

Open
21 of 22 tasks
bernard-ng opened this issue Apr 19, 2024 · 1 comment
Open
21 of 22 tasks

Support BOT API 7.2 (march 31, 2024) #467

bernard-ng opened this issue Apr 19, 2024 · 1 comment

Comments

@bernard-ng
Copy link
Contributor

bernard-ng commented Apr 19, 2024

documentation : https://core.telegram.org/bots/api#march-31-2024

Tasks

Integration with Business Accounts

  • Added the class BusinessConnection and updates about the connection or disconnection of the bot to a business account, represented by the field business_connection in the class Update.
  • Added updates about new messages in a business account connected to the bot, represented by the field business_message in the class Update.
  • Added updates about message edits in a business account connected to the bot, represented by the field edited_business_message in the class Update.
  • Added updates about message deletion in a business account connected to the bot, represented by the class BusinessMessagesDeleted and the field deleted_business_messages in the class Update.
  • Added the method getBusinessConnection.

Working on Behalf of Business Accounts

Information about Business Accounts

Request Chat Improvements

  • Added the fields request_name, request_username, and request_photo to the class KeyboardButtonRequestUsers.
  • Added the fields request_title, request_username, and request_photo to the class KeyboardButtonRequestChat.
  • Added the class SharedUser and replaced the field user_ids in the class UsersShared with the field users.
  • Added the fields title, username, and photo to the class ChatShared.

Other Changes

  • Added the field is_from_offline to the class Message.
  • Added the field can_connect_to_business to the class User.
  • Added the field personal_chat to the class Chat.
  • Added the method replaceStickerInSet,
  • Added the class Birthdate and the field birthdate to the class Chat.
  • Added the field BiometricManager to the class WebApp.
@bernard-ng bernard-ng changed the title Support BOT API 7.3 (latest) Support BOT API 7.2 (latest) May 10, 2024
@bernard-ng bernard-ng changed the title Support BOT API 7.2 (latest) Support BOT API 7.2 (march 31, 2024) May 10, 2024
@bernard-ng
Copy link
Contributor Author

Guess https://core.telegram.org/bots/webapps#biometricmanager is out of scope for this client, what do you think ? Should we implement it ? @BoShurik

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

No branches or pull requests

1 participant