UNPKG

@nguyennhuy/zalo-api

Version:

Unofficial Zalo API for JavaScript

9 lines (8 loc) 460 B
import { AvatarSize, type User } from "../models/index.js"; export type ProfileInfo = User; export type UserInfoResponse = { unchanged_profiles: Record<string, unknown>; phonebook_version: number; changed_profiles: Record<string, ProfileInfo>; }; export declare const getUserInfoFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (userId: string | string[], avatarSize?: AvatarSize) => Promise<UserInfoResponse>;