fetchAccountInfo

Lấy thông tin của tài khoản đã đăng nhập

api.fetchAccountInfo()

Parameters

Return

  • userId string

  • username string

  • displayName string

  • zaloName string

  • avatar string

  • bgavatar string

  • cover string

  • gender number

  • dob number

  • sdob string

  • status string

  • phoneNumber string

  • isFr number

  • isBlocked number

  • lastActionTime number

  • lastUpdateTime number

  • isActive number

  • key number

  • type number

  • isActivePC number

  • isActiveWeb number

  • isValid number

  • userKey string

  • accountStatus number

  • oaInfo any

  • user_mode number

  • globalId string

  • bizPkg

    • label any

    • pkgId number

  • createdTs number

  • oa_status any

Examples

await api.fetchAccountInfo()
    .then(console.log)
    .catch(console.error);

Last updated