UNPKG

@warriorteam/zalo-personal

Version:

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

17 lines (16 loc) 627 B
import { ThreadType } from "../models/index.js"; export type SendDeliveredEventResponse = "" | { status: number; }; export type SendDeliveredEventMessageParams = { msgId: string; cliMsgId: string; uidFrom: string; idTo: string; msgType: string; st: number; at: number; cmd: number; ts: string | number; }; export declare const sendDeliveredEventFactory: (ctx: import("../context.js").ContextBase, api: import("../zalo.js").API) => (isSeen: boolean, messages: SendDeliveredEventMessageParams | SendDeliveredEventMessageParams[], type?: ThreadType) => Promise<SendDeliveredEventResponse>;