getUserID( )

The getUserID API returns logged-in users userid.

API:

jqcc.cometchat.getUserID();

Sample:

var userid = jqcc.cometchat.getUserID();

Not finding what you need?

The CometChat team is here to help!