class LinkFeature

extends FacetFeature

Represents a hyperlink.

Constructor

constructor(uri)

Parameters

uri: string

Properties

$type: "app.bsky.richtext.facet#link"

uri: string

Methods

isMention()

Whether this facet is a mention.

Returns

this is MentionFeature

Whether this facet is a link.

Returns

this is LinkFeature

isTag()

Whether this facet is an in-text hashtag.

Returns

this is TagFeature