getMessage

open suspend fun getMessage(channelId: Snowflake, messageId: Snowflake): Message(source)

Requests the Message with the given messageId in the MessageChannel with the given channelId.

Throws

if something went wrong while retrieving the message.

if the message is null.