UnfurledMediaItem
Documentation / @discordeno/bot / UnfurledMediaItem
Interface: UnfurledMediaItem
Defined in: bot/src/transformers/types.ts:582
Properties
attachmentId?
optionalattachmentId:bigint
Defined in: bot/src/transformers/types.ts:594
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: bot/src/transformers/types.ts:592
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: bot/src/transformers/types.ts:588
The height of the media item. This field is ignored and provided by the API as part of the response
proxyUrl?
optionalproxyUrl:string
Defined in: bot/src/transformers/types.ts:586
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: bot/src/transformers/types.ts:584
Supports arbitrary urls and attachment://<filename> references
width?
optionalwidth:number|null
Defined in: bot/src/transformers/types.ts:590
The width of the media item. This field is ignored and provided by the API as part of the response