weixin-ts / bot/src / QRLoginOptions
Interface: QRLoginOptions
Defined in: bot/src/auth/login.ts:15
QR login configuration
Properties
appId?
optionalappId?:string
Defined in: bot/src/auth/login.ts:21
iLink App ID
baseUrl?
optionalbaseUrl?:string
Defined in: bot/src/auth/login.ts:17
API base URL
Default
ts
'https://ilinkai.weixin.qq.com'botType?
optionalbotType?:string
Defined in: bot/src/auth/login.ts:19
Bot type identifier
Default
ts
'3'maxQrRefresh?
optionalmaxQrRefresh?:number
Defined in: bot/src/auth/login.ts:29
Max QR code refresh attempts when expired
Default
ts
3pollTimeoutMs?
optionalpollTimeoutMs?:number
Defined in: bot/src/auth/login.ts:27
Timeout for each long-poll request in ms
Default
ts
35000timeoutMs?
optionaltimeoutMs?:number
Defined in: bot/src/auth/login.ts:25
Timeout for the entire login flow in ms
Default
ts
300000 (5 min)version?
optionalversion?:string
Defined in: bot/src/auth/login.ts:23
Client version string