Skip to main content
This page documents the entity classes used across all CometChat SDKs. All entity objects share the same structure regardless of platform. All properties are accessed via getter methods.

User

User represents a CometChat user. It is returned by methods like CometChat.login(), CometChat.getUser(), and user list requests.

Properties

Conditional Properties

These properties may or may not be populated depending on the method or request configuration used.

Group

Group represents a CometChat group. It is returned by methods like CometChat.createGroup(), CometChat.getGroup(), and group list requests.

Properties

Conditional Properties


Conversation

Conversation represents a chat conversation. It is returned by CometChat.getConversation() and conversation list requests.

Properties


GroupMember

GroupMember extends User and represents a member of a CometChat group. It is returned by group member list requests. It inherits all properties from User and adds the following.

Properties