Module

x/grammy_types/markup.ts>KeyboardButton.CommonButton

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

Properties

text: string

Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed