@warriorteam/zalo-personal
Version:
Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support
11 lines (10 loc) • 402 B
TypeScript
import { ThreadType } from "../models/index.js";
export type SendLinkOptions = {
msg?: string;
link: string;
ttl?: number;
};
export type SendLinkResponse = {
msgId: string;
};
export declare const sendLinkFactory: (ctx: import("../context.js").ContextBase, api: import("../zalo.js").API) => (options: SendLinkOptions, threadId: string, type?: ThreadType) => Promise<SendLinkResponse>;