UNPKG

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

35 lines 845 B
"use strict"; /** * Typing Event Types * 100% khớp với zalo-personal-sdk/src/models/Typing.ts */ Object.defineProperty(exports, "__esModule", { value: true }); exports.GroupTyping = exports.UserTyping = void 0; const enums_1 = require("./enums"); /** * User Typing Class */ class UserTyping { constructor(data) { this.type = enums_1.ThreadType.USER; this.isSelf = false; this.data = data; this.threadId = data.uid; this.isSelf = false; } } exports.UserTyping = UserTyping; /** * Group Typing Class */ class GroupTyping { constructor(data) { this.type = enums_1.ThreadType.GROUP; this.isSelf = false; this.data = data; this.threadId = data.gid; this.isSelf = false; } } exports.GroupTyping = GroupTyping; //# sourceMappingURL=typing.js.map