JsonPreview

data class JsonPreview(url: String?, title: String?, description: String?, date: Long?, attachment: JsonAttachment?)

metadata about one of the links in a message

Constructors

Link copied to clipboard
fun JsonPreview(url: String? = null, title: String? = null, description: String? = null, date: Long? = null, attachment: JsonAttachment? = null)

Properties

Link copied to clipboard
val attachment: JsonAttachment? = null

an optional image file attached to the preview

Link copied to clipboard
val date: Long? = null
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val title: String? = null
Link copied to clipboard
val url: String? = null