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

    Function createMiniAppButton

    • Creates an inline keyboard button that launches a Mini App.

      Optional coordination hints are encoded into the launch URL so later flow layers can recover them without widening the Telegram button shape.

      Parameters

      Returns TelegramInlineKeyboardButton

      const button = createMiniAppButton({
      text: "Open Task Shop",
      webAppUrl: "https://example.ngrok.app",
      startPayload: "signed-flow"
      });