getMessageOrNull

open suspend override fun getMessageOrNull(channelId: Snowflake, messageId: Snowflake): Message?(source)

Requests the Message with the given messageId in the MessageChannel with the given channelId, returns null when the message isn't present.

Throws

if something went wrong while retrieving the message.