get Messages By Message Id
fun getMessagesByMessageId(messageId: Long, params: MessageListParams, handler: BaseMessagesHandler?)
Retrieves previous or next messages based on the message ID in a specific channel. The result is passed to handler
as list
.
Since
3.0.130
Parameters
message Id
Specifies the message ID to be the reference point for messages to retrieve.
params
Params for getting message list. See MessageListParams
handler
Callback handler.