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

    Function sendFlowInit

    • Sends a coordinated flow-init message with a signed launch payload embedded into the Mini App button URL.

      Parameters

      Returns Promise<TelegramMessage>

      await sendFlowInit(bot, {
      chatId: 1,
      flowId: "task-shop",
      secret: "secret",
      text: "Continue in the Mini App",
      webAppUrl: "https://example.ngrok.app"
      });