deleteConversation method

Future<NIMResult<void>> deleteConversation(
  1. String conversationId,
  2. bool clearMessage
)

删除会话 conversationId – 会话id clearMessage – 是否清除消息

Implementation

Future<NIMResult<void>> deleteConversation(
    String conversationId, bool clearMessage) async {
  return _platform.deleteConversation(conversationId, clearMessage);
}