UNPKG

@warriorteam/zalo-personal

Version:

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

20 lines (19 loc) 622 B
import { ThreadType } from "../models/index.js"; import { Reactions } from "../models/Reaction.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("../zalo.js").API) => (icon: Reactions | CustomReaction, dest: AddReactionDestination) => Promise<AddReactionResponse>;