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
44 lines • 856 B
TypeScript
/**
* Typing Event Types
* 100% khớp với zalo-personal-sdk/src/models/Typing.ts
*/
import { ThreadType } from './enums';
/**
* Base Typing Type
*/
export interface TTyping {
uid: string;
ts: string;
isPC: 0 | 1;
}
/**
* Group Typing Type (extends TTyping with group ID)
*/
export interface TGroupTyping extends TTyping {
gid: string;
}
/**
* User Typing Class
*/
export declare class UserTyping {
type: ThreadType.USER;
data: TTyping;
threadId: string;
isSelf: false;
constructor(data: TTyping);
}
/**
* Group Typing Class
*/
export declare class GroupTyping {
type: ThreadType.GROUP;
data: TGroupTyping;
threadId: string;
isSelf: false;
constructor(data: TGroupTyping);
}
/**
* Typing Union Type
*/
export type Typing = UserTyping | GroupTyping;
//# sourceMappingURL=typing.d.ts.map