Module

x/grammy/types.deno.ts>MenuButton

The Telegram Bot Framework.
Very Popular
Latest
type alias MenuButton
import { type MenuButton } from "https://dotland.deno.dev/x/grammy@v1.31.3/types.deno.ts";

This object describes the bot's menu button in a private chat. It should be one of

  • MenuButtonCommands
  • MenuButtonWebApp
  • MenuButtonDefault

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.

import MenuButton
import { MenuButton } from "https://dotland.deno.dev/x/grammy@v1.31.3/types.deno.ts";