@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
10 lines (9 loc) • 388 B
TypeScript
import { ThreadType } from "../models/index.js";
export type UndoPayload = {
msgId: string | number;
cliMsgId: string | number;
};
export type UndoResponse = {
status: number;
};
export declare const undoFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (payload: UndoPayload, threadId: string, type?: ThreadType) => Promise<UndoResponse>;