Module

x/grammy_types/mod.ts>KeyboardButton

Type declarations of the Telegram Bot API.
Latest
type alias KeyboardButton
import { type KeyboardButton } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/mod.ts";

This object represents one button of the reply keyboard. At most one of the optional fields must be used to specify type of the button. For simple text buttons, String can be used instead of this object to specify the button text.