getWebhookWithTokenOrNull

suspend fun getWebhookWithTokenOrNull(id: Snowflake, token: String, 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.