Message
data class Message(val text: String, val authorIsUser: Boolean, var isPending: Boolean, var isLoaded: Boolean, val uuid: String)
Is used with GeminiChat and ChatMessage. Messages with isPending, should show a circular loading animation
Parameters
is Pending
is true if the app is waiting for the HTTP response
is Loaded
is true once the entire generated text has been loaded (with some typing animation)