Skip to main content

UnfurledMediaItem

@discordeno/bot


Documentation / @discordeno/bot / UnfurledMediaItem

Interface: UnfurledMediaItem

Defined in: packages/bot/src/transformers/types.ts:574

Properties

contentType?

optional contentType: string

Defined in: packages/bot/src/transformers/types.ts:584

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/bot/src/transformers/types.ts:580

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


proxyUrl?

optional proxyUrl: string

Defined in: packages/bot/src/transformers/types.ts:578

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/bot/src/transformers/types.ts:576

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


width?

optional width: null | number

Defined in: packages/bot/src/transformers/types.ts:582

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