getRepliesAsState

suspend fun ChatClient.getRepliesAsState(messageId: String, messageLimit: Int, olderToNewer: Boolean, coroutineScope: CoroutineScope = CoroutineScope(DispatcherProvider.IO)): ThreadState

Same class of ChatClient.getReplies, but provides the result as ThreadState

Return

ThreadState

Parameters

messageId

The ID of the original message the replies were made to.

messageLimit

The number of messages that will be initially loaded.

olderToNewer

The flag that determines the order of the messages.

coroutineScope

The CoroutineScope used for executing the request.