Module

x/grammy/types.ts>KeyboardButton

The Telegram Bot Framework.
Very Popular
Go to Latest
namespace KeyboardButton
import { KeyboardButton } from "https://dotland.deno.dev/x/grammy@v1.12.0/types.ts";
type alias KeyboardButton
import { type KeyboardButton } from "https://dotland.deno.dev/x/grammy@v1.12.0/types.ts";

This object represents one button of the reply keyboard. For simple text buttons String can be used instead of this object to specify text of the button. Optional fields web_app, request_contact, request_location, and request_poll are mutually exclusive.