"For developers", "Server scripts", "References", "Connection statuses".

 
Connection statuses of MyChat users


-1

state_offline

user disconnected from the server, offline;

0

state_online

user connected to the server and active;

1

state_away

user connected to the server, but not active ("Away");

2

state_dnd

user connected to the server, but put the status "Do not disturb".