AIConversationRequest
constructor(kind: AIConversationRequestKind, text: String, attachments: List<Uri> = emptyList(), message: M? = null, uiAction: AIUIAction? = null, messageId: String = UUID.randomUUID().toString())
Parameters
kind
What the person asks for.
text
What the person wrote. For a AIUIAction, its label. When a reply is written again, the text of the message it answers.
attachments
The files the person picked, on this device, to upload with their message.
message
The message it is about, such as the reply to write again.
uiAction
What the person did in a reply's generated UI, which their message carries for the agent, such as under AIUIAction.customData. Null for a message they wrote.
messageId
An id for the person's message. A transport that creates the message with it lets the conversation find its copy by it. A retry of the request keeps it.