Skip to main content
Module

x/grammy_menu/mod.ts>MenuRange#add

Easily create interactive menus with grammY.
Go to Latest
method MenuRange.prototype.add
import { MenuRange } from "https://deno.land/x/grammy_menu@v1.1.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