@nguyennhuy/zalo-api
Version:
Unofficial Zalo API for JavaScript
11 lines (10 loc) • 412 B
TypeScript
import { ThreadType } from "../models/index.js";
export type SendCardOptions = {
userId: string;
phoneNumber?: string;
ttl?: number;
};
export type SendCardResponse = {
msgId: number;
};
export declare const sendCardFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (options: SendCardOptions, threadId: string, type?: ThreadType) => Promise<SendCardResponse>;