Skip to content

Packages  ›  trotsky  ›  StepListUnblock

StepListUnblock class

Represents a step that performs a list unblock operation using the Bluesky API. Unblocking a list allows content from users on that list to appear again.

Signature:

typescript
export declare class StepListUnblock<P = StepList, C extends StepListOutput = StepListOutput, O = null> extends Step<P, C, O>

Extends: Step<P, C, O>

Example

Unblock a specific list:

ts
await Trotsky.init(agent)
  .list("at://did:plc:example/app.bsky.graph.list/listid")
  .unblock()
  .run()

Methods

Method

Modifiers

Description

apply()

Applies the step by performing a list unblock operation. Requires the context to provide the viewer.blocked URI.