getWebhookOrNull

open suspend override fun getWebhookOrNull(id: Snowflake): Webhook?(source)

Requests the Webhook with the given id, returns null when the webhook isn't present.

Throws

RequestException

if something went wrong while retrieving the webhook.