redai-automation-web-sdk
Version:
TypeScript SDK for RedAI Automation Web API - Zalo Personal automation, messaging, advanced sticker search, and bulk operations. 100% compatible with automation-web backend. v1.8.0: Added SessionProxyService for managing proxy assignments to sessions with
40 lines • 821 B
TypeScript
/**
* Reaction Event Types
* 100% khớp với zalo-personal-sdk/src/models/Reaction.ts
*/
import { Reactions } from './enums';
/**
* Reaction Type
*/
export interface TReaction {
actionId: string;
msgId: string;
cliMsgId: string;
msgType: string;
uidFrom: string;
idTo: string;
dName?: string;
content: {
rMsg: {
gMsgID: string;
cMsgID: string;
msgType: number;
}[];
rIcon: Reactions;
rType: number;
source: number;
};
ts: string;
ttl: number;
}
/**
* Reaction Class
*/
export declare class Reaction {
data: TReaction;
threadId: string;
isSelf: boolean;
isGroup: boolean;
constructor(uid: string, data: TReaction, isGroup: boolean);
}
//# sourceMappingURL=reaction.d.ts.map