//core/com.kustomer.core.providers/KusChatProvider/getHistoricChatMessages
[androidJvm]
abstract suspend fun getHistoricChatMessages(conversationId: String, page: Int, pageSize: Int): KusResult<List<Any>>
Returns paginated list of KusChatMessage if present for a conversation
Note: This should only be used to fetch messages older than 30 days. For Messages sent withing 30 days, use fetchChatMessages Note: This is a suspend function and should be called from Kotlin Coroutines
List of KusChatMessage if present for a conversation
androidJvm
conversationId | of the conversation |
page | current page number |
pageSize | number of items to be fetched in response |