You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.
Himanshu Singh edited this page Oct 31, 2020
·
1 revision
Case 01.
To set user online status use,
ChatClient.getInstance().setUserOnline("my_user_token", status =true/false)
Case 02.
ChatClient.getInstance().isUserOnline("user_token"){ isOnline,lastOnlineAt->if(isOnline){
//lastOnlineAt will be empty
}else{
//lastOnlineAt will return time object
}
}