Interface KeyboardButton

Represents a single button in a bot keyboard.

interface KeyboardButton {
    @type: "keyboardButton";
    text: string;
    type: KeyboardButtonType;
}

Properties

Properties

@type: "keyboardButton"
text: string

Text of the button.

Type of the button.