Files
botAffilate/serverNode/node_modules/zca-js/dist/apis/sendVoice.d.ts
T

13 lines
458 B
TypeScript

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>;