struct Discord::Embed
- Discord::Embed
- Struct
- Value
- Object
Defined in:
discordcr/mappings/channel.crConstructors
- .new(title : String? = nil, type : String = "rich", description : String? = nil, url : String? = nil, timestamp : Time? = nil, colour : UInt32? = nil, footer : EmbedFooter? = nil, image : EmbedImage? = nil, thumbnail : EmbedThumbnail? = nil, author : EmbedAuthor? = nil, fields : Array(EmbedField)? = nil)
- .new(__temp_149 : JSON::PullParser)
Instance Method Summary
- #author : ::Union(EmbedAuthor, Nil)
- #author=(_author : ::Union(EmbedAuthor, Nil))
- #color
- #colour : ::Union(UInt32, Nil)
- #colour=(_colour : ::Union(UInt32, Nil))
- #description : ::Union(String, Nil)
- #description=(_description : ::Union(String, Nil))
- #fields : ::Union(Array(EmbedField), Nil)
- #fields=(_fields : ::Union(Array(EmbedField), Nil))
- #footer : ::Union(EmbedFooter, Nil)
- #footer=(_footer : ::Union(EmbedFooter, Nil))
- #image : ::Union(EmbedImage, Nil)
- #image=(_image : ::Union(EmbedImage, Nil))
- #provider : ::Union(EmbedProvider, Nil)
- #provider=(_provider : ::Union(EmbedProvider, Nil))
- #thumbnail : ::Union(EmbedThumbnail, Nil)
- #thumbnail=(_thumbnail : ::Union(EmbedThumbnail, Nil))
- #timestamp : ::Union(Time, Nil)
- #timestamp=(_timestamp : ::Union(Time, Nil))
- #title : ::Union(String, Nil)
- #title=(_title : ::Union(String, Nil))
- #to_json(json : JSON::Builder)
- #type : String
- #type=(_type : String)
- #url : ::Union(String, Nil)
- #url=(_url : ::Union(String, Nil))
- #video : ::Union(EmbedVideo, Nil)
- #video=(_video : ::Union(EmbedVideo, Nil))