UnfurledMediaItem
Documentation / @discordeno/bot / UnfurledMediaItem
Interface: UnfurledMediaItem
Defined in: transformers/types.ts:695
Properties
attachmentId?
optionalattachmentId?:bigint
Defined in: transformers/types.ts:720
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
contentType?
optionalcontentType?:string
Defined in: transformers/types.ts:709
The media type of the content. This field is ignored and provided by the API as part of the response
flags?
optionalflags?:ToggleBitfield
Defined in: transformers/types.ts:718
Unfurled media item flags combined as a bitfield
Remarks
This field is ignored and provided by the API as part of the response
See
height?
optionalheight?:number|null
Defined in: transformers/types.ts:701
The height of the media item. This field is ignored and provided by the API as part of the response
placeholder?
optionalplaceholder?:string
Defined in: transformers/types.ts:705
Thumbhash placeholder if image or video. This field is ignored and provided by the API as part of the response
placeholderVersion?
optionalplaceholderVersion?:number
Defined in: transformers/types.ts:707
Version of the placeholder (if image or video). This field is ignored and provided by the API as part of the response
proxyUrl?
optionalproxyUrl?:string
Defined in: transformers/types.ts:699
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: transformers/types.ts:697
Supports arbitrary urls and attachment://<filename> references
width?
optionalwidth?:number|null
Defined in: transformers/types.ts:703
The width of the media item. This field is ignored and provided by the API as part of the response