The channel this webhook is for, if applicable.
Delete a message from this webhook.
The ID of the message.
Optional
options: DeleteWebhookMessageOptionsThe options for deleting the message.
Optional
token: stringThe token for the webhook, if not already present.
Edit this webhook (requires a bot user, see editToken
).
The options for editing the webhook.
Edit a webhook message.
The ID of the message to edit.
The options for editing the message.
Optional
token: stringThe token of the webhook.
Edit a webhook via its token.
The options for editing the webhook.
Optional
token: stringThe token for the webhook, if not already present.
Execute the webhook.
The options for executing the webhook.
Optional
token: stringThe token for the webhook, if not already present.
Optional
token: stringExecute this webhook as GitHub compatible.
The options to send. See GitHub's documentation for more information.
Optional
token: stringThe token for the webhook, if not already present.
Optional
token: stringExecute this webhook as slack compatible.
The options to send. See Slack's Documentation for more information.
Optional
token: stringThe token for the webhook, if not already present.
Optional
token: stringGet a webhook message.
The ID of the message.
Optional
threadID: stringThe ID of the thread the message is in.
Optional
token: stringThe token for the webhook, if not already present.
The url of this webhook's sourceGuild
icon (only present on channel follower webhooks).
Optional
format: "jpg" | "jpeg" | "png" | "webp" | "gif"The format the url should be.
Optional
size: numberThe dimensions of the image.
Static
generateIDStatic
getStatic
getOptional
applicationThe application associated with this webhook.
The ID of the application associated with this webhook.
The hash of this webhook's avatar.
The ID of the channel this webhook is for, if applicable.
The id of the guild this webhook is in, if applicable.
The username of this webhook, if any.
Optional
sourceThe source channel for this webhook (channel follower only).
Optional
sourceThe source guild for this webhook (channel follower only).
Optional
tokenThe token for this webhook (not present for webhooks created by other applications)
The type of this webhook.
The user that created this webhook.
Represents a webhook.