class MentionFeature

extends FacetFeature

Represents a user mention.

Constructor

constructor(did)

Parameters

did: string

Properties

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

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