Skip to main content
Module

x/grammy_menu/menu.ts>MenuButton

Easily create interactive menus with grammY.
Go to Latest
type alias MenuButton
import { type MenuButton } from "https://deno.land/x/grammy_menu@v1.1.2/menu.ts";

Button of a menu. Almost the same type as InlineKeyboardButton but with texts that can be generated on the fly, and middleware for callback buttons.

definition: { text: MaybeDynamicString<C>; } & RemoveAllTexts<NoCb | Cb<C>>