deleteConversations

suspend fun deleteConversations(    context: Context,     conversationIds: List<Int>,     callback: (result: Boolean) -> Unit?)

Call this method to delete an existing list of conversations.

This method is automatically delete the conversation and its messages if it exists and sends after that the necessary requests to the back-end.

Parameters

context

The application context

conversationIds

list of conversation ID to delete

callback

This is the callback that will be invoked to handle operation result:

    True : The conversations are successfully deleted
    False : an error occurred when trying to delete the conversations