enableVerticalSwipes method
Bot API 7.7+ A method that enables vertical swipes to close or minimize the Mini App. For user convenience, it is recommended to always enable swipes unless they conflict with the Mini App's own gestures.
Implementation
@override
void enableVerticalSwipes() => Telegram.WebApp.enableVerticalSwipes();