UNPKG

@nguyennhuy/zalo-api

Version:

Unofficial Zalo API for JavaScript

6 lines (5 loc) 310 B
import type { PollOptions } from "../models/index.js"; export type VotePollResponse = { options: PollOptions[]; }; export declare const votePollFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (pollId: number, optionId: number | number[]) => Promise<VotePollResponse>;