OpenGraph

@Serializable
data class OpenGraph(val title: String? = null, val description: String? = null, val images: List<OpenGraphImage>? = null, val type: String? = null, val url: String? = null, val locale: String? = null, val siteName: String? = null)(source)

Represents Open Graph metadata for a web page.

Constructors

Link copied to clipboard
constructor(title: String? = null, description: String? = null, images: List<OpenGraphImage>? = null, type: String? = null, url: String? = null, locale: String? = null, siteName: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?
Link copied to clipboard
val url: String?

Functions

Link copied to clipboard

Converts an OpenGraph instance to an HTML string representation.