struct

Discord::Embed

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

author
Source
author=(author : EmbedAuthor | Nil)
Source
color
Source
colour
Source
colour=(colour : UInt32 | Nil)
Source
description
Source
description=(description : String | Nil)
Source
fields
Source
fields=(fields : Array(EmbedField) | Nil)
Source
image
Source
image=(image : EmbedImage | Nil)
Source
provider
Source
provider=(provider : EmbedProvider | Nil)
Source
thumbnail
Source
thumbnail=(thumbnail : EmbedThumbnail | Nil)
Source
timestamp
Source
timestamp=(timestamp : Time | Nil)
Source
title
Source
title=(title : String | Nil)
Source
type
Source
type=(type : String)
Source
url=(url : String | Nil)
Source
video
Source
video=(video : EmbedVideo | Nil)
Source