Skip to content

Packages  ›  trotsky  ›  StepNotificationsUpdateSeen

StepNotificationsUpdateSeen class

Represents a step for marking notifications as seen using the Bluesky API.

Signature:

typescript
export declare class StepNotificationsUpdateSeen<P = Trotsky, C = null, O = null> extends Step<P, C, O>

Extends: Step<P, C, O>

Example

Mark all notifications as seen:

ts
await Trotsky.init(agent)
  .notificationsUpdateSeen()
  .run()

Methods

Method

Modifiers

Description

apply()

Applies the step logic to mark notifications as seen.