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 WebAppData and the field web_app_data to the class Message.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 WebAppInfo and the fields web_app to the classes KeyboardButton and InlineKeyboardButton.Added support for Web Apps, see the detailed manual here.As previously announced, only HTTPS links are now allowed in login_url inline keyboard buttons.Added the parameter secret_token to the method setWebhook.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.Bots integrated in the attachment menu can now be used in groups, supergroups and channels.Added the field added_to_attachment_menu to the class User.Added the field premium_animation to the class Sticker.Added the field is_premium to the class User.This change is necessary to support 4GB files uploaded by premium accounts. 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.Added the method createInvoiceLink to generate an HTTP link for an invoice.
#GIF KEYBOARD NOTE 8 UPDATE#
Bots will receive a “chat_join_request” update as usual. Added the ability to process join requests which were created without an invite link.Added the fields join_to_send_messages and join_by_request to the class Chat.
Added the events backButtonClicked, settingsButtonClicked, invoiceClosed.Added the fields chat, can_send_after to the class WebAppInitData.Added the method offClick to the class MainButton.Added the field secondary_bg_color to the class ThemeParams.Added the fields version, headerColor, backgroundColor, BackButton, HapticFeedback and the methods isVersionAtLeast, setHeaderColor, setBackgroundColor, openLink, openTelegramLink, openInvoice to the class WebApp.Added support for photos and videos in the 'What can this bot do?' section (shown on the bot's start screen).Subscribe to to be the first to know about the latest updates and join the discussion in June 20, 2022
#GIF KEYBOARD NOTE 8 HOW TO#
To learn how to create and set up a bot, please consult our Introduction to Bots and Bot FAQ.
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram.