getWebhookOrNull

suspend fun getWebhookOrNull(id: Snowflake, strategy: EntitySupplyStrategy<*> = resources.defaultStrategy): Webhook?(source)

Requests to get the Webhook in this guild with an authentication token, returns null if the webhook was not present.

Throws

if something went wrong during the request.