From 2de4d127a7dce6096dc318f10cd8a4521c1971da Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Tue, 13 Apr 2021 22:37:28 +0200 Subject: [PATCH] https://github.com/discord/discord-api-docs/pull/2720 --- src/types/webhooks/edit_webhook_message.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types/webhooks/edit_webhook_message.ts b/src/types/webhooks/edit_webhook_message.ts index 78c9ac5eb..49174bcf7 100644 --- a/src/types/webhooks/edit_webhook_message.ts +++ b/src/types/webhooks/edit_webhook_message.ts @@ -1,5 +1,6 @@ import { Embed } from "../embeds/embed.ts"; import { AllowedMentions } from "../messages/allowed_mentions.ts"; +import { FileContent } from "../mod.ts"; import { SnakeCasedPropertiesDeep } from "../util.ts"; export interface EditWebhookMessage { @@ -7,6 +8,8 @@ export interface EditWebhookMessage { content?: string | null; /** Embedded `rich` content */ embeds?: Embed[] | null; + /** The contents of the file being sent/edited */ + file: FileContent | FileContent[]; /** Allowed mentions for the message */ allowedMentions?: AllowedMentions | null; }