getWebhook

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

Requests to get the Webhook in this guild.

Throws

if something went wrong during the request.

if the webhook was not present.