UNPKG

@warriorteam/zalo-personal

Version:

Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support

15 lines (14 loc) 498 B
import { ThreadType } from "../models/index.js"; export type DeleteMessageResponse = { status: number; }; export type DeleteMessageDestination = { data: { cliMsgId: string; msgId: string; uidFrom: string; }; threadId: string; type?: ThreadType; }; export declare const deleteMessageFactory: (ctx: import("../context.js").ContextBase, api: import("../zalo.js").API) => (dest: DeleteMessageDestination, onlyMe?: boolean) => Promise<DeleteMessageResponse>;