createWebhook
inline suspend fun CategorizableChannelBehavior.createWebhook(name: String, builder: WebhookCreateBuilder.() -> Unit = {}): Webhook(source)
Requests to create a new webhook configured by the builder.
Return
The created Webhook with the Webhook.token field present.
Throws
if something went wrong during the request.