Embed

@Serializable
data class Embed(var title: String? = null, var description: String? = null, var url: String? = null, var timestamp: String? = null, var color: Color? = null, var footer: EmbedFooter? = null, var image: EmbedImage? = null, var thumbnail: EmbedImage? = null, var video: EmbedVideo? = null, var provider: EmbedProvider? = null, var author: EmbedAuthor? = null, var fields: MutableList<EmbedField> = ArrayList(), var type: String = "rich")(source)

Constructors

Link copied to clipboard
constructor(title: String? = null, description: String? = null, url: String? = null, timestamp: String? = null, color: Color? = null, footer: EmbedFooter? = null, image: EmbedImage? = null, thumbnail: EmbedImage? = null, video: EmbedVideo? = null, provider: EmbedProvider? = null, author: EmbedAuthor? = null, fields: MutableList<EmbedField> = ArrayList(), type: String = "rich")

Properties

Link copied to clipboard
@SerialName(value = "author")
var author: EmbedAuthor?
Link copied to clipboard
@SerialName(value = "color")
var color: Color?
Link copied to clipboard
@SerialName(value = "description")
var description: String?
Link copied to clipboard
@SerialName(value = "fields")
var fields: MutableList<EmbedField>
Link copied to clipboard
@SerialName(value = "footer")
var footer: EmbedFooter?
Link copied to clipboard
@SerialName(value = "image")
var image: EmbedImage?
Link copied to clipboard
@SerialName(value = "provider")
var provider: EmbedProvider?
Link copied to clipboard
@SerialName(value = "thumbnail")
var thumbnail: EmbedImage?
Link copied to clipboard
@SerialName(value = "timestamp")
var timestamp: String?
Link copied to clipboard
@SerialName(value = "title")
var title: String?
Link copied to clipboard
@SerialName(value = "type")
var type: String
Link copied to clipboard
@SerialName(value = "url")
var url: String?
Link copied to clipboard
@SerialName(value = "video")
var video: EmbedVideo?