send
Sends what the person asks. Return once the agent has the request: its reply arrives through the feed. A thrown exception shows as the state's error, and the person can retry, which sends the same request again with the same AIConversationRequest.messageId: if the first attempt reached your backend, or you keep a copy of the failed message, use the id so the message isn't added twice.
The state sends only AIConversationRequestKind.Message requests today. Once it asks for replies written again, it leaves out the messages a AIConversationRequestKind.Regenerate replaces only until the new reply starts. From then on it shows the messages as the feed has them, so update the conversation before the new reply arrives: remove the request's message and the messages after it, or write the new reply in place of message, under its id.
Parameters
What the person asks.