The channel the webhook belongs to.
The raw data of the webhook.
Optional cache: booleanWhether to cache the webhook.
Readonly channelReadonly channelThe ID of the channel the webhook belongs to.
Readonly clientReadonly createdThe date the webhook was created.
Readonly createdThe ID of the user that created the webhook.
Optional Readonly deletedThe date the webhook was deleted.
Readonly idReadonly nameThe name of the webhook.
Readonly rawReadonly serverThe ID of the server the webhook belongs to.
Optional Readonly tokenThe token of the webhook.
The server member that created the webhook.
The ID of the user that created the webhook.
The timestamp the webhook was created.
The timestamp the webhook was deleted.
Whether the webhook is cached.
Fetch the webhook.
The fetched webhook.
webhook.fetch();
Optional options: FetchOptionsThe options to fetch the webhook with.
Fetch the server member that created the webhook.
The fetched server member.
webhook.fetchAuthor();
Optional options: FetchOptionsThe options to fetch the server member with.
Fetch the server the webhook belongs to.
The fetched server.
webhook.fetchServer();
Optional options: FetchOptionsThe options to fetch the server with.
Send a message with the webhook.
webhook.send('Hello world!');
The payload of the message.
Represents a webhook on Guilded.
Example