Interface
APIEmbedMedia
Image, thumbnail, video, or audio media attached to an embed.
Properties
| Name | Type | Description |
|---|---|---|
| content_hash? | string | null | Content hash for cache busting / integrity. |
| content_type? | string | null | MIME type when known. |
| description? | string | null | Alt text / caption for accessibility. |
| duration? | number | null | Duration in seconds for video/audio. |
| flags? | number | null | EmbedMediaFlags bitfield (e.g. EmbedMediaFlags.CONTAINS_EXPLICIT_MEDIA) |
| height? | number | null | Pixel height when known. |
| placeholder? | string | null | Base64 placeholder for lazy loading |
| proxy_url? | string | null | CDN proxy URL for the media. |
| url | string | Source URL of the media. |
| width? | number | null | Pixel width when known. |