method ApiMethods.getChatMenuButton
ApiMethods.getChatMenuButton(args: { chat_id?: number; }): MenuButton

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.

Parameters

args: { chat_id?: number; }

Return Type

Usage

import { type ApiMethods } from "types";