You can also get state for online users by calling User.state .
let joe = ChatEngine.users['joe-UUID'];
console.log(joe.state);
You can also get state for online users by calling User.state .
let joe = ChatEngine.users['joe-UUID'];
console.log(joe.state);