Link

data class Link(val url: Uri, val title: String? = null, val icon: Blob? = null, val createdAt: Timestamp, val labels: LinkLabelsUnion? = null)

Parameters

url

The link destination, an https URL.

title

Optional label for the link. Clients can fall back to the destination's domain.

icon

The destination site's icon, uploaded when the link is saved.

labels

Self-label values for this link.

Constructors

Link copied to clipboard
constructor(url: Uri, title: String? = null, icon: Blob? = null, createdAt: Timestamp, labels: LinkLabelsUnion? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val icon: Blob?

The destination site's icon, uploaded when the link is saved.

Link copied to clipboard

Self-label values for this link.

Link copied to clipboard

Optional label for the link. Clients can fall back to the destination's domain.

Link copied to clipboard
val url: Uri

The link destination, an https URL.