loadMoreMessages

suspend fun loadMoreMessages(    context: Context,     conversationId: Int?,     timeout: Long = 10000): ApiResult<Boolean>

Call this method to load more messages of configured conversation.

This method should be called only from a coroutine or another suspend function

Same as loadMessages(Context, String, ILoadMessages) but in this case the messages will be loaded from the oldest message.

The maximum number of the message to retrieve foreach conversation is configured by the backend and has a default value can be configured manually using the configuration XML file (integer attribute key : maximum_messages_to_retrieve_default_value).

Return

ApiResult This is the callback that will be invoked to handle operation result:

    Success : the load more messages request is successfully sent to the server.
    Error : a local error occurred when trying to send this request to the server

See also

Parameters

context

The application context

conversationId

The identifier of the conversation