Skip to content

Commit 0132e99

Browse files
committed
chore(APIAttachment): mark width and height as optional
- ref: discord/discord-api-docs#2214
1 parent bb106a5 commit 0132e99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v8/payloads/channel.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ export interface APIAttachment {
312312
size: number;
313313
url: string;
314314
proxy_url: string;
315-
height: number | null;
316-
width: number | null;
315+
height?: number | null;
316+
width?: number | null;
317317
}
318318

319319
/**

0 commit comments

Comments
 (0)