Merge pull request #393 from discordeno/optional-dimensions

types(message): make attachment dimensions optional
This commit is contained in:
Skillz4Killz
2021-01-15 15:35:11 -05:00
committed by GitHub
+2 -2
View File
@@ -32,9 +32,9 @@ export interface Attachment {
/** A proxied url of file */ /** A proxied url of file */
proxy_url: string; proxy_url: string;
/** The height of file if an image */ /** The height of file if an image */
height: number | null; height?: number | null;
/** The width of the file if an image */ /** The width of the file if an image */
width: number | null; width?: number | null;
} }
export interface Embed { export interface Embed {