@warriorteam/zalo-personal
Version:
Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support, auto-reply, product catalog, and business features
39 lines (38 loc) • 1.13 kB
TypeScript
import type { GroupInfo } from "../models/index.js";
export type GetGroupInviteBoxListPayload = {
mpage?: number;
page?: number;
invPerPage?: number;
mcount?: number;
};
export type GetGroupInviteBoxListResponse = {
invitations: {
groupInfo: GroupInfo;
inviterInfo: {
id: string;
dName: string;
zaloName: string;
avatar: string;
avatar_25: string;
accountStatus: number;
type: number;
};
grCreatorInfo: {
id: string;
dName: string;
zaloName: string;
avatar: string;
avatar_25: string;
accountStatus: number;
type: number;
};
/**
* Expired timestamp max 7 days
*/
expiredTs: string;
type: number;
}[];
total: number;
hasMore: boolean;
};
export declare const getGroupInviteBoxListFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload?: GetGroupInviteBoxListPayload) => Promise<GetGroupInviteBoxListResponse>;