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

x/grammy_menu/menu.ts>MenuRange#addRange

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

This method is used internally whenever a new range is added.

Parameters

...range: MaybeDynamicRange<C>[]

A range object or a two-dimensional array of menu buttons