Skip to content

Packages  ›  trotsky  ›  StepThreadMute

StepThreadMute class

Represents a step that performs a thread mute operation using the Bluesky API. Muting a thread hides notifications for that thread.

Signature:

typescript
export declare class StepThreadMute<P = StepPost, C extends StepPostOutput = StepPostOutput, O = null> extends Step<P, C, O>

Extends: Step<P, C, O>

Example

Mute a specific thread:

ts
await Trotsky.init(agent)
  .post("at://did:plc:example/app.bsky.feed.post/postid")
  .threadMute()
  .run()

Methods

Method

Modifiers

Description

apply()

Applies the step by performing a thread mute operation. Requires the context to provide the root post URI.