enableClosingConfirmation abstract method
void
enableClosingConfirmation()
Bot API 6.2+ A method that enables a confirmation dialog while the user is trying to close the Mini App.
Implementation
void enableClosingConfirmation();