weixin-ts / bot/src / LoginResult
Interface: LoginResult
Defined in: bot/src/auth/login.ts:58
Final login result
Properties
accountId?
optionalaccountId?:string
Defined in: bot/src/auth/login.ts:64
Bot account ID (ilink_bot_id)
baseUrl?
optionalbaseUrl?:string
Defined in: bot/src/auth/login.ts:66
API base URL (may differ from default after login)
botToken?
optionalbotToken?:string
Defined in: bot/src/auth/login.ts:62
Bot token for API authentication
message
message:
string
Defined in: bot/src/auth/login.ts:70
Human-readable status message
success
success:
boolean
Defined in: bot/src/auth/login.ts:60
Whether login succeeded
userId?
optionaluserId?:string
Defined in: bot/src/auth/login.ts:68
User ID of the person who scanned the QR code