Discord::Embed
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
author
Sourceauthor=(author : EmbedAuthor | Nil)
Sourcecolor
Sourcecolour
Sourcecolour=(colour : UInt32 | Nil)
Sourcedescription
Sourcedescription=(description : String | Nil)
Sourcefields
Sourcefields=(fields : Array(EmbedField) | Nil)
Sourceimage
Sourceimage=(image : EmbedImage | Nil)
Sourceprovider
Sourceprovider=(provider : EmbedProvider | Nil)
Sourcethumbnail
Sourcethumbnail=(thumbnail : EmbedThumbnail | Nil)
Sourcetimestamp
Sourcetimestamp=(timestamp : Time | Nil)
Sourcetitle
Sourcetitle=(title : String | Nil)
Sourcetype
Sourcetype=(type : String)
Sourceurl
Sourceurl=(url : String | Nil)
Sourcevideo
Sourcevideo=(video : EmbedVideo | Nil)
Source