weixin-ts / bot/src / QRPollCallbacks
Interface: QRPollCallbacks
Defined in: bot/src/auth/login.ts:48
Callbacks during QR polling
Properties
onQrRefresh?
optionalonQrRefresh?: (newQrcodeUrl) =>void
Defined in: bot/src/auth/login.ts:54
Called when QR code is refreshed after expiry (new URL to display)
Parameters
newQrcodeUrl
string
Returns
void
onRedirect?
optionalonRedirect?: (newHost) =>void
Defined in: bot/src/auth/login.ts:52
Called on IDC redirect (informational)
Parameters
newHost
string
Returns
void
onScanned?
optionalonScanned?: () =>void
Defined in: bot/src/auth/login.ts:50
Called when the QR code is scanned (user needs to confirm)
Returns
void