class Labeler

A Bluesky labeler profile.

Constructor

constructor(data, bot)

Parameters

data: LabelerData

Labeler data.

bot: Bot

The active Bot instance.

Properties

uri: string

The labeler record's AT URI.

cid: string

The labeler record's CID.

profile: Profile

The labeler's user profile.

likeCount?: number

The number of likes the labeler has.

indexedAt: Date

When the labeler was indexed by the AppView.

labelDefinitions: ComAtprotoLabelDefs.LabelValueDefinition[]

The label policies published by the labeler.

labels?: ComAtprotoLabelDefs.Label[]

Any labels on the labeler record.

Methods

subscribe()

Subscribe to the labeler.

unsubscribe()

Unsubscribe from the labeler.

fromView(view, bot)

Constructs an instance from a LabelerView.

Parameters

bot: Bot

The active Bot instance.

Returns

Labeler