Breaking changes in V3, please pay attention before upgrading:
- SDK uses strict mode.
deleteConversationwill delete roaming messages by default when deleting a conversation. If you only want to delete the conversation and keep the chat history, set theclearHistoryMessageparameter tofalse.deleteConversationsupports batch deletion of conversations.- When exiting/kicked out of a group or when a group is dissolved, only the group records are deleted without deleting the corresponding group conversation.
getFriendProfileby default supports fetching friend custom fields and profile custom fields.- Log reporting backup channel uses the separate cluster domain https://events.im.qcloud.com (Mini Program platform needs to add a trusted request domain configuration).
- Default cover image for video messages has been removed.
getConversationListsupports batch retrieval of specified conversations.- Conversation list filters out conversations with deleted accounts.
- Group tips that are not stored in the roaming system (such as modifying group custom fields) are no longer counted towards the unread message count in the conversation(
Conversation.unreadCount). Message.IDconcatenation rule is${senderTinyID}-${clientTime}-${random}, consistent with the concatenation rule of Native Chat messages.deleteMessagedoes not support deleting group system notifications and provides specific error messages.- When being logged out due to multi-account or multi-device login, the server-side
logoutcallback is no longer triggered.