getChatMenuButton method

Future<MenuButton> getChatMenuButton({
  1. ChatID? chatId,
})
inherited

Use this method to get the current value of the bot's menu button in a private chat, or the default menu button.

Returns MenuButton on success.

Implementation

Future<MenuButton> getChatMenuButton({
  ChatID? chatId,
}) {
  return _client.apiCall(_token, 'getChatMenuButton', {
    'chat_id': chatId,
  });
}