New User Identification


#1

I am writing my own client using rocket chat server as backend, how to identify user is a new user and to call “direct message” method as REALTIME API.


#2

One way is to subscribe to messages on the default join channel like general. Then look for a message coming through of type uj which is a user join message.