Files
botAffilate/serverNode/node_modules/zca-js/dist/models/Typing.js
T

18 lines
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;
}
}