![]() For example, when users switch between Day and Night modes or use various custom themes. Web Apps always receive data about the user's current color theme in real time, so you can adjust the appearance of your interfaces to match it. 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 t.me links that can be used to select the chat in which the attachment menu with the bot will be opened.Added the ability to use bots added to the attachment menu in group, supergroup and channel chats.Added the field is_premium to the class WebAppUser. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |