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

11 lines (10 loc) 412 B
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>;