detritus

MessageEmbedclass

Embed Structure, used for [Message] Structures

On this page

Embed Structure, used for [Message] Structures

import { Structures } from 'detritus-client';

Structures.MessageEmbed;
26 properties2 methods15 inheritedsrc/structures/messageembed.ts:35

Constructor

Properties

author?
client
readonly
Inherited from BaseStructure.client
color?
number
optional
description?
string
optional
fields?
optional
flags?
number
optional
image?
provider?
referenceId?
string
optional
thumbnail?
timestamp?
Date
optional
title?
string
optional
type
Default MessageEmbedTypes.RICH
url?
string
optional
video?

Accessors

hasAttachment
boolean
get
isApplicationNews
boolean
get
isArticle
boolean
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isGifV
boolean
get
isImage
boolean
get
isRich
boolean
get
isTweet
boolean
get
isVideo
boolean
get
length
number
get
shardId
number
get
Inherited from BaseStructure.shardId
size
number
get

Methods