DiscordUnfurledMediaItem
Documentation / @discordeno/types / DiscordUnfurledMediaItem
Interface: DiscordUnfurledMediaItem
Defined in: discord/components.ts:881
https://docs.discord.com/developers/components/reference#unfurled-media-item-structure
Properties
attachment_id?
optionalattachment_id?:string|null
Defined in: discord/components.ts:893
The id of the uploaded attachment. Only present if the media was uploaded as an attachment. This field is ignored and provided by the API as part of the response
content_type?
optionalcontent_type?:string
Defined in: discord/components.ts:891
The media type of the content. This field is ignored and provided by the API as part of the response
height?
optionalheight?:number|null
Defined in: discord/components.ts:887
The height of the media item. This field is ignored and provided by the API as part of the response
proxy_url?
optionalproxy_url?:string
Defined in: discord/components.ts:885
The proxied url of the media item. This field is ignored and provided by the API as part of the response
url
url:
string
Defined in: discord/components.ts:883
Supports arbitrary urls and attachment://<filename> references
width?
optionalwidth?:number|null
Defined in: discord/components.ts:889
The width of the media item. This field is ignored and provided by the API as part of the response