Conversation Handler
class ConversationHandler(val conversation: Conversation, val context: Context? = null, val mediaRecorderDispatcher: ExecutorCoroutineDispatcher = Executors.newSingleThreadExecutor()
.asCoroutineDispatcher())
This class handles functionality related to conversation such as send and receive all kind of messages, getting older messages and participant events. pass the conversation object you received from messaging sdk pass the context if you want to use auto download feature context should not be null if auto download feature is set to true
Constructors
Link copied to clipboard
constructor(conversation: Conversation, context: Context? = null, mediaRecorderDispatcher: ExecutorCoroutineDispatcher = Executors.newSingleThreadExecutor()
.asCoroutineDispatcher())