ultra-telegram-framework
    Preparing search index...
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get state(): Record<string, any>

      Storage for temporary data of a specific scene. Cleared when leaving the scene.

      Returns Record<string, any>

    • set state(value: Record<string, any>): void

      Parameters

      • value: Record<string, any>

      Returns void

    Methods

    • Enter a new scene

      Parameters

      • name: string

        Scene name

      • initialState: Record<string, any> = {}

        Initial state (optional)

      Returns void

    • Go to a specific step by its index

      Parameters

      • index: number

      Returns void