From 1fd4d54f90fb11dbdba58aff52a1bbdbaea10358 Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Wed, 14 Apr 2021 08:47:47 +0200 Subject: [PATCH] https://github.com/discord/discord-api-docs/pull/2762 --- src/types/messages/attachment.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/messages/attachment.ts b/src/types/messages/attachment.ts index 6e5491ed1..638945348 100644 --- a/src/types/messages/attachment.ts +++ b/src/types/messages/attachment.ts @@ -5,6 +5,8 @@ export interface Attachment { id: string; /** Name of file attached */ filename: string; + /** The attachment's [media type](https://en.wikipedia.org/wiki/Media_type) */ + contentType?: string; /** Size of file in bytes */ size: number; /** Source url of file */