getWebhookMessageOrNull

open suspend override fun getWebhookMessageOrNull(webhookId: Snowflake, token: String, messageId: Snowflake, threadId: Snowflake?): Message?(source)

Requests the Message with the given messageId previously sent from a Webhook with the given webhookId using the token for authentication, returns null when the message isn't present.

If the message is in a thread, threadId must be specified.

Throws

RequestException

if something went wrong while retrieving the message.