Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature] API 7.2 #4179

Closed
Closed
@Poolitzer

Description

@Poolitzer

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

Next bot api update \o/

Important

Describe the solution you'd like

Integration with Business Accounts [Taken by @harshil21]

  • 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 [Taken by @harshil21]

Information about Business Accounts [Taken by @aelkheir - #4183]

Mixed-Format Sticker Packs [Taken by @harshil21]

  • Removed the fields is_animated and is_video from the class StickerSet.
  • Added the field format to the class InputSticker.
  • Removed the parameter sticker_format from the method createNewStickerSet.
  • Added the parameter format to the method setStickerSetThumbnail.
  • Increased the maximum number of stickers in any regular and mask sticker set to 120.
  • Allowed to upload WEBM stickers using SendSticker.

Request Chat Improvements [Taken by @clot27]

  • 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

Describe alternatives you've considered

If you want to contribute, you can start from the Contribution Guide.

Additional context

Please comment below before start working on any part of the update so as to keep things in track and avoid double work.

Metadata

Metadata

Labels

⚙️ bot-apiaffected functionality: bot-api

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions