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

    Interface PaginationNavigationLabels

    Customization options for pagination navigation control labels and formatting.

    interface PaginationNavigationLabels {
        disabled?: string;
        hideDisabled?: boolean;
        next?: string | ((currentPage: number, totalPages: number) => string);
        pageIndicator?:
            | string
            | ((currentPage: number, totalPages: number) => string);
        prev?: string | ((currentPage: number, totalPages: number) => string);
    }
    Index
    disabled?: string

    Label text displayed when a navigation button is disabled (e.g. on first/last page).

    "-"

    hideDisabled?: boolean

    Whether to completely hide disabled navigation buttons instead of showing an inactive placeholder.

    false

    next?: string | ((currentPage: number, totalPages: number) => string)

    Label text for the next page button. Can be a static string or a formatter function (currentPage, totalPages) => string.

    "Next"

    pageIndicator?: string | ((currentPage: number, totalPages: number) => string)

    Label text for the middle page indicator button. Can be a static string or a formatter function (currentPage, totalPages) => string.

    (curr, total) => ${curr} / ${total}``

    prev?: string | ((currentPage: number, totalPages: number) => string)

    Label text for the previous page button. Can be a static string or a formatter function (currentPage, totalPages) => string.

    "Previous"