Skip to main content

DiscordUnfurledMediaItem

@discordeno/bot


Documentation / @discordeno/bot / DiscordUnfurledMediaItem

Interface: DiscordUnfurledMediaItem

Defined in: packages/types/dist/types/discord/components.d.ts:281

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

Properties

content_type?

optional content_type: string

Defined in: packages/types/dist/types/discord/components.d.ts:291

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


height?

optional height: null | number

Defined in: packages/types/dist/types/discord/components.d.ts:287

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


proxy_url?

optional proxy_url: string

Defined in: packages/types/dist/types/discord/components.d.ts:285

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: packages/types/dist/types/discord/components.d.ts:283

Supports arbitrary urls and attachment://<filename> references


width?

optional width: null | number

Defined in: packages/types/dist/types/discord/components.d.ts:289

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