RestCord logo RestCord

createWebhook

$client->webhook->createWebhook($parameters);

Description

Create a new webhook.

Parameters

Name Type Required Default
channel.id snowflake true null
name string false null
avatar avatar data false null

Response

Returns a webhook object on success.

Can Return: