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

x/grammy_menu/menu.ts>MenuRange#add

Interactive menus for grammY.
Go to Latest
method MenuRange.prototype.add
import { MenuRange } from "https://deno.land/x/grammy_menu@v1.2.2/menu.ts";

This method is used internally whenever new buttons are added. Adds the buttons to the current row.

Parameters

...btns: MenuButton<C>[]

Menu button object