UNPKG

@nguyennhuy/zalo-api

Version:

Unofficial Zalo API for JavaScript

43 lines (42 loc) 1.39 kB
export type FetchGroupBoardListResponse = { items: Array<{ boardType: number; data: { id?: string; type?: number; color?: number; emoji?: string; startTime?: number; duration?: number; params?: string; creatorId?: string; editorId?: string; createTime?: number; editTime?: number; repeat?: number; creator?: string; question?: string; options?: Array<{ content: string; votes: number; voted: boolean; voters: Array<string>; option_id: number; }>; joined?: boolean; closed?: boolean; poll_id?: number; allow_multi_choices?: boolean; allow_add_new_option?: boolean; is_anonymous?: boolean; poll_type?: number; created_time?: number; updated_time?: number; expired_time?: number; is_hide_vote_preview?: boolean; num_vote?: number; }; }>; count: number; }; export declare const getGroupBoardListFactory: (ctx: import("../../context.js").ContextBase, api: import("../../apis.js").API) => (groupId: string) => Promise<FetchGroupBoardListResponse>;