class TagFeature

extends FacetFeature

Represents an in-text hashtag.

Constructor

constructor(tag)

Parameters

tag: string

Properties

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

tag: 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