Bot API 7.7

now WebApp class supports vertical swipes to close and/or minimize the app
This commit is contained in:
bpavuk committed 2024-07-07 20:28:18 +03:00
1 parent d4698301ad
commit 44a8186830
1 file changed
+4
@@ -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()