AIPendingMessage
data class AIPendingMessage(val id: String = UUID.randomUUID().toString(), val text: String, val attachments: List<AIMessageAttachment> = emptyList())
A message the person sent that has not arrived in the conversation yet. The conversation shows it at once, and its copy takes over its row when it arrives.
Parameters
id
The message's id once it arrives, when you know it. Its copy is then found by it rather than by where it lands. Pass it when you can: by where it lands, a copy that arrived before the conversation first showed this message is not found.
text
What the person wrote.
attachments
What they sent with it, such as the photos and files they picked.
Constructors
Link copied to clipboard
constructor(id: String = UUID.randomUUID().toString(), text: String, attachments: List<AIMessageAttachment> = emptyList())