in src/core/chatController.js [26:43]
constructor(args) {
this.logger = LogManager.getLogger({
prefix: "ContactId-" + args.chatDetails.contactId + ": "
});
this.argsValidator = new ChatServiceArgsValidator();
this.pubsub = new EventBus();
this.sessionType = args.sessionType;
this.getConnectionToken = args.chatDetails.getConnectionToken;
this.connectionDetails = args.chatDetails.connectionDetails;
this.initialContactId = args.chatDetails.initialContactId;
this.contactId = args.chatDetails.contactId;
this.participantId = args.chatDetails.participantId;
this.chatClient = args.chatClient;
this.participantToken = args.chatDetails.participantToken;
this.websocketManager = args.websocketManager;
this._participantDisconnected = false;
this.sessionMetadata = {};
}