APIUnfurledMediaItem
Index
Properties
optionalattachment_id
The id of the uploaded attachment.
optionalcontent_type
The media type of the content
optionalflags
Unfurled media item flags combined as a bitfield
optionalheight
The height of the media item (if image or video)
optionalloading_state
optionalplaceholder
ThumbHash placeholder (if image or video)
optionalplaceholder_version
Version of the placeholder (if image or video)
optionalproxy_url
The proxied url of the media item
url
Supports arbitrary urls and attachment://<filename> references
optionalwidth
The width of the media item (if image or video)
https://discord.com/developers/docs/components/reference#unfurled-media-item-structure