@warriorteam/zalo-personal
Version:
Unofficial Zalo Personal API for JavaScript - A powerful library for interacting with Zalo personal accounts with URL attachment support
18 lines (17 loc) • 410 B
JavaScript
import { ThreadType } from "./Enum.js";
export class UserTyping {
constructor(data) {
this.type = ThreadType.User;
this.data = data;
this.threadId = data.uid;
this.isSelf = false;
}
}
export class GroupTyping {
constructor(data) {
this.type = ThreadType.Group;
this.data = data;
this.threadId = data.gid;
this.isSelf = false;
}
}