export interface APIUnfurledMediaItemSee also: https://discord.com/developers/docs/components/reference#unfurled-media-item-structure
optionalattachment_id? : Snowflake
The id of the uploaded attachment.
The media type of the content
See also: https://en.wikipedia.org/wiki/Media_type
optionalflags? : UnfurledMediaItemFlags
Unfurled media item flags combined as a bitfield
See also: https://docs.discord.com/developers/components/reference#unfurled-media-item-unfurled-media-item-flagshttps://en.wikipedia.org/wiki/Bit_field
unstableoptionalloading_state? : UnfurledMediaItemLoadingState
This field is currently not documented by Discord
Unstable
ThumbHash placeholder (if image or video)
See also: https://evanw.github.io/thumbhash/
optionalproxy_url? : string
The proxied url of the media item
url : string
Supports arbitrary urls and attachment://<filename> references