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

x/grammy_types/markup.ts>InlineKeyboardMarkup

Type declarations of the Telegram Bot API.
Latest
interface InlineKeyboardMarkup
import { type InlineKeyboardMarkup } from "https://deno.land/x/grammy_types@v3.15.0/markup.ts";

This object represents one button of an inline keyboard. Exactly one of the optional fields must be used to specify type of the button.

Properties

inline_keyboard: InlineKeyboardButton[][]

Array of button rows, each represented by an Array of InlineKeyboardButton objects