Interface KeyboardButton

Represents a single button in a bot keyboard.

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

Properties

@type: "keyboardButton"
icon_custom_emoji_id: string

Identifier of the custom emoji that must be shown on the button; 0 if none.

Style of the button.

text: string

Text of the button.

Type of the button.