Teleforge API Reference - v0.1.0
    Preparing search index...

    Function extractFlowContext

    • Validates and extracts flow context from a signed payload string, a web_app_data payload, or an incoming Telegram update.

      Parameters

      Returns FlowContext | null

      const context = extractFlowContext(update, "secret");