createWebhook

suspend fun createWebhook(webhook: CreateWebhook): Webhook(source)

Create a webhook for this channel.

Return

The created webhook.

Parameters

webhook

The webhook to create.

Throws