The channel the webhook belongs to.
The raw data of the webhook.
Whether to cache the webhook.
Readonly channelThe channel the webhook belongs to.
Readonly channelThe ID of the channel the webhook belongs to.
Readonly clientThe client the data model belongs to.
Readonly 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 idThe ID of the structure.
Readonly nameThe name of the webhook.
Readonly rawThe raw data of the webhook.
Readonly 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