@warriorteam/zalo-personal
Version:
Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support
38 lines (37 loc) • 943 B
TypeScript
import { Gender } from "../models/Enum.js";
export type FetchAccountInfoResponse = {
userId: string;
username: string;
displayName: string;
zaloName: string;
avatar: string;
bgavatar: string;
cover: string;
gender: Gender;
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;
};
export declare const fetchAccountInfoFactory: (ctx: import("../context.js").ContextBase, api: import("../zalo.js").API) => () => Promise<FetchAccountInfoResponse>;