setChatMenuButton method
Use this method to change the bot's menu button in a private chat, or the default menu button.
Returns True on success.
Implementation
Future<bool> setChatMenuButton({
ChatID? chatId,
MenuButton? menuButton,
}) {
return _client.apiCall(_token, 'setChatMenuButton', {
'chat_id': chatId,
'menu_button': menuButton,
});
}