sendUserPresence method
Implementation
sendUserPresence(WebSocketChannel webSocketChannel, String status) {
Map msg = {
"msg": "method",
"method": "UserPresence:setDefaultStatus",
"id": "101",
"params": [status]
};
return webSocketChannel.sink.add(jsonEncode(msg));
}