Packages › trotsky › StepCreatePost › (constructor)
StepCreatePost.(constructor) 
Initializes the create-post step with the provided agent, parent, and record parameters.
Signature:
typescript
constructor(agent: AtpAgent, parent: P, record: ResolvableStepCreatePostParams);Parameters 
Parameter  | Type  | Description  | 
|---|---|---|
agent  | AtpAgent  | The AT protocol agent for making API calls.  | 
parent  | P  | The parent step in the chain.  | 
record  | The post record parameters, possibly resolvable at runtime.  |