API Version
Creates a webhook in the specified channel
The channel ID of the channel you want to create the webhook in.
The name of the webhook.
Webhook object
Deletes a webhook
The ID of the webhook you want to delete.
Deletes a webhook with the given ID and token
The ID of the webhook you want to delete.
The token of the webhook you want to delete.
Edit a webhook message
The ID of the webhook you want to send the message to.
The token of the webhook.
The ID of the message you want to edit.
ExecuteWebhookOptions
ExecuteWebhookParams = {}
Message object.
Executes a webhook
The ID of the webhook you want to execute.
The token of the webhook.
ExecuteWebhookOptions
ExecuteWebhookParams = {}
A message object.
Get all webhooks in a channel
The ID of the channel you want to get the webhooks from.
Array of webhooks
Gets all the webhooks in a guild.
The ID of the guild you want to get the webhooks from.
Array of webhooks
Gets a webhook by its ID
The ID of the webhook you want to get.
Webhook object.
Get a webhook message
The ID of the webhook.
The token of the webhook.
The ID of the message to get.
{
A message object.
Gets a webhook with a token.
The ID of the webhook you want to get.
The token of the webhook.
Webhook object
Modify a webhook
The ID of the webhook you want to modify.
ModifyWebhookOptions
Webhook object.
Modify a webhook with a token.
The ID of the webhook you want to modify.
The token of the webhook.
ModifyWebhookOptions
Webhook object.
API Version
Bot's token
Token type
Generated using TypeDoc
Bot's token