loadNewestMessages
fun ChatClient.loadNewestMessages(cid: String, messageLimit: Int, userPresence: Boolean = true): Call<Channel>
Loads the newest messages of a channel.
Return
Executable async Call responsible for loading the newest messages.
Parameters
cid
The full channel id i. e. messaging:123.
messageLimit
The number of messages to be loaded.
userPresence
Flag to determine if the SDK is going to receive UserPresenceChanged events. Used by the SDK to indicate if the user is online or not.