APIUnfurledMediaItem
See also:https://discord.com/developers/docs/components/reference#unfurled-media-item-structure
interface APIUnfurledMediaItemattachment_id
The id of the uploaded attachment.
Only present if the media item was uploaded as an attachment.
attachment_id?: Snowflakecontent_type
The media type of the content
This field is ignored and provided by the API as part of the response.
flags
Unfurled media item flags combined as a bitfield
This field is ignored and provided by the API as part of the response.
height
The height of the media item (if image or video)
This field is ignored and provided by the API as part of the response.
loading_state
This field is currently not documented by Discord
loading_state?: UnfurledMediaItemLoadingStateplaceholder_version
Version of the placeholder (if image or video)
This field is ignored and provided by the API as part of the response.
placeholder
ThumbHash placeholder (if image or video)
This field is ignored and provided by the API as part of the response.
See also:https://evanw.github.io/thumbhash/
proxy_url
The proxied url of the media item
This field is ignored and provided by the API as part of the response.
proxy_url?: stringurl
Supports arbitrary urls and attachment://<filename> references
url: string;width
The width of the media item (if image or video)
This field is ignored and provided by the API as part of the response.