getMessageOrNull

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

Requests to get a message with the given messageId, returns null if the message isn't present or is not part of this channel.

Throws

if something went wrong during the request.