detritus

ComponentUnfurledMediaclass

Component Unfurled Media Structure

On this page

Component Unfurled Media Structure

import { Structures } from 'detritus-client';

Structures.ComponentUnfurledMedia;
StructureBaseStructureComponentUnfurledMedia
20 properties2 methods15 inheritedsrc/structures/components.ts:1458

Constructor

Properties

client
readonly
Inherited from BaseStructure.client
contentScanMetadata?
{ flags: number; version?: number }
optional
contentType?
string
optional
flags?
number
optional
height?
number
optional
loadingState?
originalContentType?
string
optional
placeholder?
string
optional
placeholderVersion?
number
optional
proxyUrl?
string
optional
url
string
Default ''
width?
number
optional

Accessors

containsExplicitContent
boolean
get
containsGoreContent
boolean
get
containsSelfHarmContent
boolean
get
extension
string
get
filename
string
get
isAudio
boolean
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isImage
boolean
get
isText
boolean
get
isVideo
boolean
get
shardId
number
get
Inherited from BaseStructure.shardId

Methods