//core/com.kustomer.core.providers/KusChatProvider/fetchChatMessages
[androidJvm]
abstract suspend fun fetchChatMessages(conversationId: String, page: Int, pageSize: Int, startTimeToken: Long? = null): KusResult<List<Any>>
Returns list of KusChatMessage&KusSatisfaction object if present for a conversation
Note: This is a suspend function and should be called from Kotlin Coroutines
List of KusChatMessage&KusSatisfaction object if present for a conversation
androidJvm
com.kustomer.core.models.chat.KusSatisfaction |
androidJvm
conversationId | of the conversation |
page | current page number |
pageSize | number of items to be fetched in response |
startTimeToken | delimiting time to fetch messages that are older than and up to that start timetoken value |