Interface InlineKeyboardButton

Represents a single button in an inline keyboard.

interface InlineKeyboardButton {
    @type: "inlineKeyboardButton";
    icon_custom_emoji_id: string;
    style: ButtonStyle;
    text: string;
    type: InlineKeyboardButtonType;
}

Properties

@type: "inlineKeyboardButton"
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.