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

19 lines (18 loc) 582 B
import { ThreadType, Reactions } from "../models/index.js"; export type AddReactionResponse = { msgIds: number[]; }; export type CustomReaction = { rType: number; source: number; icon: string; }; export type AddReactionDestination = { data: { msgId: string; cliMsgId: string; }; threadId: string; type: ThreadType; }; export declare const addReactionFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (icon: Reactions | CustomReaction, dest: AddReactionDestination) => Promise<AddReactionResponse>;