Defined in: zaun/js/index.d.ts:538
An embed on a message, as received. Pictures are the message’s attachments (null when
the message object does not have them, as on an edit’s event; data has their ids).
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Embed():
Embed
Returns
Section titled “Returns”Embed
Properties
Section titled “Properties”author
Section titled “author”
readonlyauthor:object
Defined in: zaun/js/index.d.ts:548
icon:
Attachment
name:
string
url:
string
readonlycolor:number
Defined in: zaun/js/index.d.ts:544
readonlydata:EmbedData
Defined in: zaun/js/index.d.ts:540
description
Section titled “description”
readonlydescription:string
Defined in: zaun/js/index.d.ts:542
fields
Section titled “fields”
readonlyfields:object[]
Defined in: zaun/js/index.d.ts:547
inline
Section titled “inline”inline:
boolean
name:
string
value:
string
footer
Section titled “footer”
readonlyfooter:object
Defined in: zaun/js/index.d.ts:549
icon:
Attachment
text:
string
hexColor
Section titled “hexColor”
readonlyhexColor:string
Defined in: zaun/js/index.d.ts:545
readonlyimage:Attachment
Defined in: zaun/js/index.d.ts:550
message
Section titled “message”
readonlymessage:Message
Defined in: zaun/js/index.d.ts:539
thumbnail
Section titled “thumbnail”
readonlythumbnail:Attachment
Defined in: zaun/js/index.d.ts:551
timestamp
Section titled “timestamp”
readonlytimestamp:Date
Defined in: zaun/js/index.d.ts:546
readonlytitle:string
Defined in: zaun/js/index.d.ts:541
readonlyurl:string
Defined in: zaun/js/index.d.ts:543
Methods
Section titled “Methods”toJSON()
Section titled “toJSON()”toJSON():
EmbedData
Defined in: zaun/js/index.d.ts:552