telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface ReplyKeyboardMarkup

    Represents a custom keyboard with reply options.

    interface ReplyKeyboardMarkup {
        force_reply?: boolean;
        input_field_placeholder?: string;
        is_persistent?: boolean;
        keyboard: KeyboardButton[][];
        one_time_keyboard?: boolean;
        resize_keyboard?: boolean;
        selective?: boolean;
    }
    Index
    force_reply?: boolean

    Pass True if the reply interface must be shown to the user (Bot API 10.3+).

    input_field_placeholder?: string

    The placeholder to be shown in the input field when the keyboard is active; 1-64 characters.

    is_persistent?: boolean

    Requests clients to always show the keyboard when the regular keyboard is hidden. Defaults to false.

    keyboard: KeyboardButton[][]

    Array of button rows, each represented by an Array of KeyboardButton objects.

    one_time_keyboard?: boolean

    Requests clients to hide the keyboard as soon as it's been used. Defaults to false.

    resize_keyboard?: boolean

    Requests clients to resize the keyboard vertically for optimal fit. Defaults to false.

    selective?: boolean

    Use this parameter if you want to show the keyboard to specific users only.