from
Decodes one attachment, or returns null when it is not an AI step.
Parameters
type
The attachment type.
payload
The attachment payload.
position
The attachment's index, used as the identity of a step that carries no ID of its own.
Decodes one attachment, or returns null when it is not an AI step.
The attachment type.
The attachment payload.
The attachment's index, used as the identity of a step that carries no ID of its own.