Interface
APIEmbedMedia
Image, thumbnail, video, or audio media attached to an embed.
Properties
content_hash
?: string | nullContent hash for cache busting / integrity.
content_type
?: string | nullMIME type when known.
description
?: string | nullAlt text / caption for accessibility.
duration
?: number | nullDuration in seconds for video/audio.
flags
?: number | nullEmbedMediaFlags bitfield (e.g. EmbedMediaFlags.CONTAINS_EXPLICIT_MEDIA)
height
?: number | nullPixel height when known.
placeholder
?: string | nullBase64 placeholder for lazy loading
proxy_url
?: string | nullCDN proxy URL for the media.
url
: stringSource URL of the media.
width
?: number | nullPixel width when known.