interface APIUnfurledMediaItem

export interface APIUnfurledMediaItem

See also: https://discord.com/developers/docs/components/reference#unfurled-media-item-structure

optional
content_type? : string | null

The media type of the content. This field is ignored and provided by the API as part of the response

See also: https://en.wikipedia.org/wiki/Media_type

optional
flags? : number

optional
height? : number | null

The height of the media item. This field is ignored and provided by the API as part of the response

optional
loading_state? : UnfurledMediaItemLoadingState

optional
placeholder_version? : number | null

optional
placeholder? : string | null

optional
proxy_url? : string

The proxied url of the media item. This field is ignored and provided by the API as part of the response

url : string

Supports arbitrary urls and attachment:// references

optional
width? : number | null

The width of the media item. This field is ignored and provided by the API as part of the response