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

    Function initiateCoordinatedFlow

    • Starts a persisted coordinated flow and sends the signed Mini App launch message.

      Parameters

      Returns Promise<{ message: TelegramMessage; stateKey: string }>

      const result = await initiateCoordinatedFlow(bot, manager, {
      chatId: 1,
      flowId: "task-shop",
      initialStep: "catalog",
      secret: "coord-secret",
      text: "Continue in the Mini App",
      userId: "42",
      webAppUrl: "https://example.ngrok.app"
      });