deleteRemoteConversation method

Future<void> deleteRemoteConversation({
  1. required String conversationId,
  2. required ConversationType type,
  3. bool isDeleteMessage = true,
})

Implementation

Future<void> deleteRemoteConversation({
  required String conversationId,
  required ConversationType type,
  bool isDeleteMessage = true,
}) {
  return checkResult(ChatSDKEvent.deleteRemoteConversation, () {
    return Client.getInstance.chatManager.deleteRemoteConversation(
      conversationId,
      conversationType: type,
      isDeleteMessage: isDeleteMessage,
    );
  });
}