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

Bot API 6.1 #1331

Closed
10 tasks done
TiiFuchs opened this issue Jun 23, 2022 · 0 comments
Closed
10 tasks done

Bot API 6.1 #1331

TiiFuchs opened this issue Jun 23, 2022 · 0 comments
Labels

Comments

@TiiFuchs
Copy link
Member

TiiFuchs commented Jun 23, 2022

Join Requests & Payments

  • Added the fields join_to_send_messages and join_by_request to the class Chat.
  • Added the ability to process join requests which were created without an invite link. Bots will receive a “chat_join_request” update as usual.
  • Added the method createInvoiceLink to generate an HTTP link for an invoice.

Telegram Premium Support (more info)

  • The maximum value of the field file_size in the classes Animation, Audio, Document, Video, Voice, and File can no longer be stored in a signed 32-bit integer type. This change is necessary to support 4GB files uploaded by premium accounts.
  • Added the field is_premium to the class User.
  • Added the field premium_animation to the class Sticker.

Attachment Menu Integration

  • Added the field added_to_attachment_menu to the class User.
    Bots integrated in the attachment menu can now be used in groups, supergroups and channels.
  • Added support for t.me links that can be used to select the chat in which the attachment menu with the bot will be opened.

Other Changes

  • Added the parameter secret_token to the method setWebhook.
  • As previously announced, only HTTPS links are now allowed in login_url inline keyboard buttons.
@TiiFuchs TiiFuchs pinned this issue Jun 26, 2022
@OxMohsen OxMohsen mentioned this issue Jul 1, 2022
@TiiFuchs TiiFuchs unpinned this issue Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants