OpenGraphImage

@Serializable
data class OpenGraphImage(val url: String, val width: Int? = null, val height: Int? = null, val alt: String? = null)(source)

Represents an Open Graph image with optional width, height, and alt text.

Constructors

Link copied to clipboard
constructor(url: String, width: Int? = null, height: Int? = null, alt: String? = null)

Properties

Link copied to clipboard
val alt: String?
Link copied to clipboard
val height: Int?
Link copied to clipboard
val url: String
Link copied to clipboard
val width: Int?

Functions

Link copied to clipboard

Converts an OpenGraphImage instance to an HTML string representation.