title: Create Webhook category: Webhook
createWebhook
$client->webhook->createWebhook($parameters);
Create a new webhook. Requires the 'MANAGE_WEBHOOKS' permission.
Name | Type | Required | Default |
---|---|---|---|
channel.id | snowflake | true | null |
name | string | false | null |
avatar | string | false | null |
Returns a webhook object on success.
Can Return: