UNPKG

@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

15 lines (14 loc) 524 B
import type { PollOptions } from "../models/index.js"; export type AddPollOptionsOption = { voted: boolean; content: string; }; export type AddPollOptionsPayload = { pollId: number; options: AddPollOptionsOption[]; votedOptionIds: number[]; }; export type AddPollOptionsResponse = { options: PollOptions[]; }; export declare const addPollOptionsFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload: AddPollOptionsPayload) => Promise<AddPollOptionsResponse>;