AIPendingMessage

constructor(id: String = UUID.randomUUID().toString(), text: String, attachments: List<AIMessageAttachment> = emptyList())

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.