mainButton property

  1. @override
BottomButton get mainButton
override

An object for controlling the main button, which is displayed at the bottom of the Mini App in the Telegram interface.

Implementation

@override
BottomButton get mainButton => BottomButton(Telegram.WebApp.MainButton);