types(message): make attachment dimensions optional

Reference: https://github.com/discord/discord-api-docs/pull/2214
This commit is contained in:
ayntee
2021-01-15 23:07:15 +04:00
parent ae99819c22
commit 7d28b550c9

View File

@@ -32,9 +32,9 @@ export interface Attachment {
/** A proxied url of file */
proxy_url: string;
/** The height of file if an image */
height: number | null;
height?: number | null;
/** The width of the file if an image */
width: number | null;
width?: number | null;
}
export interface Embed {