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

x/grammy_menu/mod.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/mod.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