tencent cloud

Chat

Unity

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-03-03 15:34:26

Feature Description

If a user doesn't want to view the historical one-to-one or group messages after deleting a friend or leaving a group, the user can choose to delete the conversation.
Note:
When a conversation is deleted, the historical messages will be deleted from both the client and the server and cannot be recovered.
Multi-client sync is disabled for conversation deletion by default and can be enabled in the Chat console.

Deleting a Conversation

Call the ConvDelete API (Details) to delete a specified conversation.
Sample code:
// Delete a specified conversation
TIMResult res = TencentIMSDK.ConvDelete(conv_id, conv_type, (int code, string desc, string user_data)=>{
// Process the async logic
});


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백