loadMessagesAroundId

fun ChatClient.loadMessagesAroundId(cid: String, messageId: String): Call<Channel>

Loads messages around the given message id.

Return

The channel wrapped in Call. This channel contains messages around the requested message.

Parameters

cid

The full channel id i.e. "messaging:123".

messageId

The id of the message around which we want to load messages.