setReadReceipt

abstract suspend fun setReadReceipt(eventId: String, threadId: String)

Set the read receipt on the event with provided eventId.

Parameters

eventId

the id of the event where read receipt will be set

threadId

the id of the thread in which read receipt will be set. For main thread use ReadService.THREAD_ID_MAIN constant