package dev.zxq5.chatapp.android.api.model

import kotlinx.serialization.Serializable
import kotlin.time.ExperimentalTime
import kotlin.time.Instant
import kotlin.uuid.ExperimentalUuidApi
import kotlin.uuid.Uuid

@Serializable
data class SendMessage @OptIn(ExperimentalTime::class, ExperimentalUuidApi::class) constructor(
    val id: Uuid,
    val user_id: Int,
    val text: String,
    val timestamp: Instant
)