edit message can now have files

This commit is contained in:
ITOH
2021-05-04 22:22:41 +02:00
parent 3694c377eb
commit 3ecfaef780

View File

@@ -1,4 +1,5 @@
import { Embed } from "../embeds/embed.ts";
import { FileContent } from "../misc/file_content.ts";
import { AllowedMentions } from "./allowed_mentions.ts";
import { Attachment } from "./attachment.ts";
@@ -10,6 +11,8 @@ export interface EditMessage {
embed?: Embed | null;
/** Edit the flags of the message (only `SUPRESS_EMBEDS` can currently be set/unset) */
flags?: 4 | null;
/** The contents of the file being sent/edited */
file?: FileContent | FileContent[] | null;
/** Allowed mentions for the message */
allowedMentions?: AllowedMentions | null;
/** Attached files to keep */