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