zmp_request_login_qr
Request a developer login session and generate a QR code for Zalo authorization. Optionally wait for scan and save the token to a project directory.
Instructions
Request a new developer login session and generate a QR code for Zalo authorization. Can optionally wait/poll until scanned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | Optional Zalo Mini App ID. | |
| projectDir | No | Optional path to project directory to auto-save ZMP_TOKEN upon scan. | |
| timeoutSec | No | Timeout in seconds for scanning (default: 60). | |
| waitForScan | No | Whether to block and poll until user scans QR on mobile (default: false). |