mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13: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:
parent
d4698301ad
commit
44a8186830
@ -30,6 +30,10 @@ external class WebApp {
|
|||||||
val viewportHeight: Float
|
val viewportHeight: Float
|
||||||
val viewportStableHeight: Float
|
val viewportStableHeight: Float
|
||||||
|
|
||||||
|
val isVerticalSwipesEnabled: Boolean
|
||||||
|
fun enableVerticalSwipes()
|
||||||
|
fun disableVerticalSwipes()
|
||||||
|
|
||||||
|
|
||||||
val isClosingConfirmationEnabled: Boolean
|
val isClosingConfirmationEnabled: Boolean
|
||||||
fun enableClosingConfirmation()
|
fun enableClosingConfirmation()
|
||||||
|
Loading…
Reference in New Issue
Block a user