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

    Interface MenuContextControl

    Interactive menu control helper attached to CallbackContext.

    interface MenuContextControl {
        back(): Promise<void>;
        nav(targetMenu: unknown): Promise<void>;
        update(): Promise<void>;
    }
    Index
    • Navigates back to the parent menu in-place.

      Returns Promise<void>

    • Navigates to a specific target menu in-place.

      Parameters

      • targetMenu: unknown

        The destination menu to switch to.

      Returns Promise<void>

    • Re-renders the current menu in-place, updating any dynamic button labels.

      Returns Promise<void>