Overview
Conversation Overview
In the Chat SDK, there are three types of
Conversation
: One-to-one (C2C): A one-to-one conversation between only two users. Its composition method is
C2C${userID}
.GROUP: A group conversation among group members. Its composition method is
GROUP${groupID}
.@TIM#SYSTEM
(System Notification Session)You can use the conversation class APIs to display/update the conversation list, update the unread count, pin a conversation to the top, and mute message notifications.
Conversation Storage Policy
By default, the client can pull 100 recent contact conversations from the cloud, and after upgrading to the Premium edition, it can be configured to pull up to 500 recent contact conversations. The conversation duration is consistent with the saving time of the last message in the conversation. Messages are saved for 7 days by default, which means the conversation is also saved for 7 days by default. Please refer to the Pricing.