APIUnfurledMediaItem
https://docs.discord.com/developers/components/reference#unfurled-media-item-structure Only `url` is set by apps; every other field is filled in by Discord on received components.
Signature
export interface APIUnfurledMediaItem extends Identify<MakeRequired<Partial<Pick<APIAttachment, 'url' | 'proxy_url' | 'height' | 'width' | 'content_type'>>, 'url'>>Properties
5Methods
0No methods.
Properties
placeholder?: string;Thumbhash placeholder for images and videos
placeholder_version?: number;Version of the placeholder for images and videos
flags?: UnfurledMediaItemFlags;Unfurled media item flags combined as a bitfield
content_scan_metadata?: APIUnfurledMediaItemContentScanMetadata;Results of Discord's content scanning, present once the media has been scanned
attachment_id?: Snowflake;ID of the uploaded attachment, present only when the media was uploaded as an attachment