parseProposedMessage()
@gravity-rail/sdk / parseProposedMessage
Function: parseProposedMessage()
parseProposedMessage(
value):UiPromptProposedMessage|undefined
The draft payload, read field by field rather than cast: the result is persisted, so a transcript carries drafts written before a field existed. The tool, the destination and the body are required: a draft missing any of them is not one the member could review or send.
Parameters
value
unknown
Returns
UiPromptProposedMessage | undefined