Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_menu/deps.deno.ts>MenuButton

Interactive menus for grammY.
Latest
type alias MenuButton
Re-export
import { type MenuButton } from "https://deno.land/x/grammy_menu@v1.3.0/deps.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.