Remote History Message Params
Remote history message query parameters.
Used for com.nexconn.chat.channel.BaseChannel.getRemoteHistoryMessages Query Remote history message.
*Note: This Feature need In enable history in developer console message cloud storage Feature. Not supported chatroom.
val params = RemoteHistoryMessageParams().apply {
dateTime = System.currentTimeMillis()
count = 20
order = RemoteHistoryMessageParams.PullOrder.DESCEND
includeLocalExistMessage = false
}
channel.getRemoteHistoryMessages(params) { messages, error ->
if (error == null && messages != null) {
if (error == null && messages!= null) {
}
}Content copied to clipboard
Properties
Link copied to clipboard
Default is PullOrder.DESCEND.
Link copied to clipboard
Value range: 0 < count <= 100, Default 20.
Functions
Link copied to clipboard
Ascending, Get compare Timestamp Update message (When time ascending).
Link copied to clipboard
Default is PullOrder.DESCEND.
Link copied to clipboard
Value range: 0 < count <= 100, Default 20.
Link copied to clipboard
Ascending, Get compare Timestamp Update message (When time ascending).
Link copied to clipboard
Default is PullOrder.DESCEND.
Link copied to clipboard
Value range: 0 < count <= 100, Default 20.