Skip to content

weixin-ts / bot/src / LoginResult

Interface: LoginResult

Defined in: bot/src/auth/login.ts:58

Final login result

Properties

accountId?

optional accountId?: string

Defined in: bot/src/auth/login.ts:64

Bot account ID (ilink_bot_id)


baseUrl?

optional baseUrl?: string

Defined in: bot/src/auth/login.ts:66

API base URL (may differ from default after login)


botToken?

optional botToken?: 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?

optional userId?: string

Defined in: bot/src/auth/login.ts:68

User ID of the person who scanned the QR code

Released under the MIT License.