class WebhooksAPI

export declare class WebhooksAPI

Constructors

constructor(
rest: REST
)

Constructs a new instance of the WebhooksAPI class

Deletes an associated message from a webhook

See also: https://discord.com/developers/docs/resources/webhook#delete-webhook-message

editMessage() : Promise<APIMessage>

Edits an associated message from a webhook

See also: https://discord.com/developers/docs/resources/webhook#edit-webhook-message

Executes a webhook and returns the created message

See also: https://discord.com/developers/docs/resources/webhook#execute-webhook