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

20 lines (19 loc) 636 B
import { ThreadType } from "../models/index.js"; export type DeleteChatResponse = { status: number; }; export type DeleteChatLastMessage = { /** * Last message owner ID to delete backwards */ ownerId: string; /** * Last message client ID to delete backwards */ cliMsgId: string; /** * Last message global ID to delete backwards */ globalMsgId: string; }; export declare const deleteChatFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (lastMessage: DeleteChatLastMessage, threadId: string, type?: ThreadType) => Promise<DeleteChatResponse>;