getMessagesAround

suspend fun getMessagesAround(limit: Int = 50, messageId: String): List<Message>(source)

Get messages from this channel, around a given message.

Return

A list of messages around the specified message.

Parameters

limit

The max number of messages to return, between 1 and 100. Defaults to 50.

messageId

The message to get messages around.

Throws