getMoreMessagesFromConversation

abstract fun getMoreMessagesFromConversation(conversation: IRainbowConversation?, nbMessagesToRetrieve: Int)

Retrieve the list of the nbMessagesToRetrieve next messages of a given conversation.

The response is in the complete method as a @object:ArrayItemList<@object:IMMessage>.

The response is also available by listening the @object:ArrayItemList<@object:IMMessage> of the conversation.

Parameters

conversation

IRainbowConversation The conversation to retrieve the nbMessagesToRetrieve next messages

nbMessagesToRetrieve

int The number of messages to retrieve


abstract fun getMoreMessagesFromConversation(conversation: IRainbowConversation?)

Retrieve the list of the 50 next messages of a given conversation.

The response is in the complete method as a @object:ArrayItemList<@object:IMMessage>.

The response is also available by listening the @object:ArrayItemList<@object:IMMessage> of the conversation.

Parameters

conversation

IRainbowConversation The conversation to retrieve the 50 next messages