Package-level declarations
Types
Link copied to clipboard
class AIMessageAttachment(val kind: AIMessageAttachment.Kind, val uri: Uri? = null, val bitmap: ImageBitmap? = null, val name: String? = null, val size: Long? = null, val mimeType: String? = null, val extraData: Map<String, Any?> = emptyMap())
Something a message carries besides its text, such as an image or a file.
Link copied to clipboard
How the person rated a reply.
Link copied to clipboard
Who wrote a message. It is an open set: compare against the roles you know.
Link copied to clipboard
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.
Link copied to clipboard
data class AIReplyActions(val rating: AIMessageRating? = null, val onRegenerate: () -> Unit? = null, val onRate: (AIMessageRating?) -> Unit? = null)
What the person can do with a finished reply besides copying and sharing it.