@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
22 lines (21 loc) • 716 B
TypeScript
import type { NoteDetail, PinnedMessageDetail, PollDetail } from "../models/index.js";
import { BoardType } from "../models/index.js";
export type ListBoardOptions = {
/**
* Page number (default: 1)
*/
page?: number;
/**
* Number of items to retrieve (default: 20)
*/
count?: number;
};
export type BoardItem = {
boardType: BoardType;
data: PollDetail | NoteDetail | PinnedMessageDetail;
};
export type GetListBoardResponse = {
items: BoardItem[];
count: number;
};
export declare const getListBoardFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (options: ListBoardOptions, groupId: string) => Promise<GetListBoardResponse>;