Bot API was updated to version 6.1 What's new: — To support | Telegram Info English
Bot API was updated to version 6.1
What's new: — To support 4GB files uploaded by premium accounts, file_size in most media classes can no longer be stored in a signed 32-bit integer type. — Bots can now distinguish premium Users and Stickers with the new respective fields is_premium and premium_animation. — Added several methods and fields to the class WebApp to handle API version, additional colors, haptic feedback and more. — Added the events backButtonClicked, settingsButtonClicked and invoiceClosed. — Updated ThemeParams, MainButton and WebAppInitData with new fields and methods. — Bots can now process join requests created without an invite link — they will still receive a chat_join_request update. — HTTP links for invoices can be generated with the new createInvoiceLink method. — Bots can now detect when a user added them to their attachment menu via the new added_to_attachment_menu field. Integrated bots can now also be used in groups, supergroups and channels.
See the full changelog for details on the official website.
This is the English mirror of @tginfo. Discussion chat: @tginfochaten. Beta channel: @betainfoen. TON: @infotonen. Other languages: @tginfoall (@tginfoworld was revoked). Talk to us: @infowritebot...