package com.pablotj.ai.chat.presentation.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

/**
 * Request DTO for sending a message to a conversation.
 */
@Schema(description = "Request to send a message to a conversation")
public record SendMessageRequest(

        @Schema(description = "Message content", example = "Hello, how can you help me today?", required = true)
        @NotBlank(message = "Message content cannot be blank")
        @Size(min = 1, max = 10000, message = "Message content must be between 1 and 10000 characters")
        String content
) {
}
