weixin-ts / bot/src / QRCodeResult
Interface: QRCodeResult
Defined in: bot/src/auth/login.ts:33
Result from requestQRCode
Properties
poll
poll: (
callbacks?) =>Promise<LoginResult>
Defined in: bot/src/auth/login.ts:44
Poll for scan confirmation. Resolves when user confirms or times out. Call this after displaying the QR code to the user.
Parameters
callbacks?
Optional callbacks for status updates
Returns
Promise<LoginResult>
qrcodeToken
qrcodeToken:
string
Defined in: bot/src/auth/login.ts:37
Raw qrcode token (internal, used for polling)
qrcodeUrl
qrcodeUrl:
string
Defined in: bot/src/auth/login.ts:35
QR code content URL (for rendering as QR image)