getBaseData( )

BaseData API is used to identify user. It contains encrypted userid. It is needed while using ajax in cross domain environment.
Get BaseData API in modules, plugins and extensions in cross domain environment.

API:

jqcc.cometchat.getBaseData();

Sample:

var basedata = jqcc.cometchat.getBaseData();

Not finding what you need?

The CometChat team is here to help!