//! Message attachment links stored in `athena.chat_message_attachments`.

use serde::{Deserialize, Serialize};

use crate::ids::MessageId;

/// Ordered file attachment on a chat message.
///
/// Maps to `athena.chat_message_attachments` and references `athena.files`.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct MessageAttachment {
    pub message_id: MessageId,
    pub file_id: String,
    /// Display order within the message.
    pub ordinal: i32,
}
