fix(types): Add missing limits on alts for media (#4200)

x
This commit is contained in:
Fleny
2025-05-24 03:38:47 +05:30
committed by GitHub
parent 17dc876a9e
commit b0d4309ec5
+2 -2
View File
@@ -264,7 +264,7 @@ export interface DiscordThumbnailComponent extends DiscordBaseComponent {
/** A url or attachment */
media: DiscordUnfurledMediaItem
/** Alt text for the media */
/** Alt text for the media, max 1024 characters */
description?: string
/** Whether the thumbnail should be a spoiler (or blurred out). Defaults to `false` */
spoiler?: boolean
@@ -282,7 +282,7 @@ export interface DiscordMediaGalleryComponent extends DiscordBaseComponent {
export interface DiscordMediaGalleryItem {
/** A url or attachment */
media: DiscordUnfurledMediaItem
/** Alt text for the media */
/** Alt text for the media, max 1024 characters */
description?: string
/** Whether the media should be a spoiler (or blurred out). Defaults to `false` */
spoiler?: boolean