interface APIUnfurledMediaItem

external
export interface APIUnfurledMediaItem

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

optionalexternal
attachment_id? : Snowflake

The id of the uploaded attachment. This field is ignored and provided by the API as part of the response

optionalexternal
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

optionalexternal
flags? : number

optionalexternal
height? : number | null

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

optionalexternal
loading_state? : UnfurledMediaItemLoadingState

optionalexternal
placeholder_version? : number | null

optionalexternal
placeholder? : string | null

optionalexternal
proxy_url? : string

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

external
url : string

Supports arbitrary urls and attachment:// references

optionalexternal
width? : number | null

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