enableClosingConfirmation method

  1. @override
void enableClosingConfirmation()
override

Bot API 6.2+ A method that enables a confirmation dialog while the user is trying to close the Mini App.

Implementation

@override
void enableClosingConfirmation() => Telegram.WebApp.enableClosingConfirmation();