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