//! Message reaction rows stored in `athena.chat_message_reactions`.

use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

use crate::ids::{MessageId, UserId};

/// Emoji reaction left by a user on a message.
///
/// Maps to `athena.chat_message_reactions`; toggled via [`crate::repo::traits::ChatRepository`].
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct MessageReaction {
    pub message_id: MessageId,
    pub user_id: UserId,
    pub emoji: String,
    pub created_at: DateTime<Utc>,
}
