Skip to content

Packages  ›  trotsky  ›  StepPostRepost

StepPostRepost class

Represents a step for reposting a specific post.

Signature:

typescript
export declare class StepPostRepost<P = StepPost, C extends StepPostOutput = StepPostOutput, O extends StepPostRepostOutput = StepPostRepostOutput> extends Step<P, C, O>

Extends: Step<P, C, O>

Methods

Method

Modifiers

Description

apply()

Applies the step logic to repost the post provided in the context. The resulting URI and CID of the repost are stored in the output.