1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-08 09:23:47 +00:00

Bot API 7.7

now WebApp class supports vertical swipes to close and/or minimize the app
This commit is contained in:
bpavuk 2024-07-07 20:28:18 +03:00
parent d4698301ad
commit 44a8186830
No known key found for this signature in database
GPG Key ID: B501D26D9DEA9CFE

View File

@ -30,6 +30,10 @@ external class WebApp {
val viewportHeight: Float
val viewportStableHeight: Float
val isVerticalSwipesEnabled: Boolean
fun enableVerticalSwipes()
fun disableVerticalSwipes()
val isClosingConfirmationEnabled: Boolean
fun enableClosingConfirmation()