Parameters | Type | Description |
---|---|---|
conversationId | string | Specifies conversation’s unique ID. |
conversationType | string | Specifies the type of conversation.Available types are: user group |
unreadMessageCount | string | Specifies count of unread messages in that conversation. |
createdAt | integer | Specifies unix timestamp when conversation was created. |
updatedAt | integer | Specifies unix timestamp when conversation was last updated. |
uid | string | Specifies the user’s unique ID for whom conversation is initiated. |
lastMessage | nested object | Specifies details of that conversation’s last message, including one-one and group. This makes it easy to build a Recent Chats list. Couple of scenarios where the lastMessage property won’t be visible: a. If that message is deleted via SDK/API. b. If a new group is created and there is no message or no members are added to the group yet. |
conversationWith | nested object | Specifies details of user or group with whom above mentioned user is having conversation. |