getMessagesByMessageId

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

messageId

Specifies the message ID to be the reference point for messages to retrieve.

params

Params for getting message list. See MessageListParams

handler

Callback handler.