userMessages
Call Signature
Section titled “Call Signature”userMessages(
run):TranscriptMessageEvent[]
Returns every normalized user message event from a session.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Example
Section titled “Example”const firstPrompt = userMessages(result)[0]?.content;Call Signature
Section titled “Call Signature”userMessages(
session):TranscriptMessageEvent[]
Returns every normalized user message event from a session.
Parameters
Section titled “Parameters”session
Section titled “session”Returns
Section titled “Returns”Example
Section titled “Example”const firstPrompt = userMessages(result)[0]?.content;