Skip to content

Packages  ›  trotsky  ›  StepSearchPosts  ›  (constructor)

StepSearchPosts.(constructor)

Initializes the StepSearchPosts instance with the given agent, parent, and query parameters.

Signature:

typescript
constructor(agent: AtpAgent, parent: P, queryParams: StepSearchPostsQueryParams);

Parameters

Parameter

Type

Description

agent

AtpAgent

The AT protocol agent used for API calls.

parent

P

The parent step in the chain.

queryParams

StepSearchPostsQueryParams

The initial query parameters for the search.