SetMenuButton constructor

const SetMenuButton({
  1. required int userId,
  2. required BotMenuButton menuButton,
})

Sets menu button for the given user or for all users; for bots only

Implementation

const SetMenuButton({
  required this.userId,
  required this.menuButton,
});