Skip to content

Packages  ›  trotsky  ›  StepListMute

StepListMute class

Represents a step that performs a list mute operation using the Bluesky API. Muting a list hides content from users on that list without blocking them.

Signature:

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

Extends: Step<P, C, O>

Example

Mute a specific list:

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

Methods

Method

Modifiers

Description

apply()

Applies the step by performing a list mute operation. Requires the context to provide the uri of the list to mute.