WebhookMessage
Signature
export declare class WebhookMessage extends BaseMessageProperties
2Methods
6Properties
readonly webhookId: string;readonly webhookToken: string;Methods
constructorConstructorconstructor(client: UsingClient, data: MessageData, webhookId: string, webhookToken: string);fetchWebhook(): Promise<WebhookStructure>;fetch(): Promise<WebhookMessageStructure>;edit(body: EditMessageWebhook): Promise<WebhookMessageStructure>;write(body: WriteMessageWebhookWait): Promise<WebhookMessageStructure>;write(body: WriteMessageWebhook): Promise<WebhookMessageStructure | null>;delete(reason?: string): Promise<undefined>;