Interfacediscord-component-embedv1.0.0MediaPropsProps for Thumbnail and MediaGalleryItem. interface MediaPropsMember overviewPropertiesdescriptionspoilerurlPropertiesdescriptionAlt text. description?: stringspoilerHides the media behind a spoiler overlay. spoiler?: booleanurlAn http or https URL that Discord fetches when it builds the preview. A thumbnail takes a PNG, GIF, JPEG, WebP, or AVIF image. A gallery item also takes MP4, MOV, or WebM video. url: string;
urlAn http or https URL that Discord fetches when it builds the preview. A thumbnail takes a PNG, GIF, JPEG, WebP, or AVIF image. A gallery item also takes MP4, MOV, or WebM video. url: string;