clearChattingAccountWithId static method

dynamic clearChattingAccountWithId(
  1. String? sessionId,
  2. NIMConversationType conversationType,
  3. String conversationId
)

清除设置的当前聊天账号信息 @param sessionId 聊天对象id @param sessionType 聊天对象类型

Implementation

static clearChattingAccountWithId(String? sessionId,
    NIMConversationType conversationType, String conversationId) {
  NIMChatCache.instance
      .clearCurrentChatSession(sessionId, conversationType, conversationId);
  ConversationRepo.clearSessionUnreadCount(conversationId);
}