UNPKG

typescript-telegram-bot-api

Version:

Telegram Bot API wrapper for Node.js written in TypeScript

13 lines (12 loc) 613 B
import { MenuButtonCommands, MenuButtonWebApp, MenuButtonDefault } from './'; /** * ## MenuButton * This object describes the bot's menu button in a private chat. It should be one of * - MenuButtonCommands * - MenuButtonWebApp * - MenuButtonDefault * @see https://core.telegram.org/bots/api#menubutton * If a menu button other than MenuButtonDefault is set for a private chat, then it is applied in the chat. Otherwise * the default menu button is applied. By default, the menu button opens the list of bot commands. */ export type MenuButton = MenuButtonCommands | MenuButtonWebApp | MenuButtonDefault;