getMessages

suspend fun Conversation.getMessages(pageSize: Int = 10): AxpResult<out PageIterator<Message>>

Retrieves messages in the chat session.

Return

AxpResult containing the result of the operation.

Parameters

pageSize

The number of messages per page.


fun Conversation.getMessages(pageSize: Int = 10, responseHandler: ResponseHandler<PageIterator<Message>>)

Retrieves messages in the chat session asynchronously with a response handler.

Parameters

pageSize

The number of messages per page.

responseHandler

The response handler for asynchronous processing.