Skip to main content
Module

x/grammy_menu/deps.deno.ts>InlineKeyboard#row

Easily create interactive menus with grammY.
Go to Latest
method InlineKeyboard.prototype.row
import { InlineKeyboard } from "https://deno.land/x/grammy_menu@v1.1.2/deps.deno.ts";

Adds a 'line break'. Call this method to make sure that the next added buttons will be on a new row.

You may pass a number of InlineKeyboardButton objects if you already have the instances for some reason. You most likely don't want to pass any arguments to row.

Parameters

...buttons: InlineKeyboardButton[]

A number of buttons to add to the next row