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

13 lines (12 loc) 458 B
import { ThreadType } from "../models/index.js"; export type SendVoiceOptions = { voiceUrl: string; /** * Time to live in milliseconds (default: 0) */ ttl?: number; }; export type SendVoiceResponse = { msgId: string; }; export declare const sendVoiceFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (options: SendVoiceOptions, threadId: string, type?: ThreadType) => Promise<SendVoiceResponse>;