package org.dromara.talk.domain.dto;

import lombok.Data;
import java.util.List;

/**
 * WhatsApp消息接收请求
 */
@Data
public class WhatsAppMessageRequest {

    /**
     * 会话ID
     */
    private String sessionId;

    /**
     * 用户账号
     */
    private String userAccount;

    /**
     * 对话历史
     */
    private List<ConversationMessage> conversationHistory;

    @Data
    public static class ConversationMessage {
        /**
         * 角色: user/assistant
         */
        private String role;

        /**
         * 消息内容
         */
        private String content;

        /**
         * 时间戳
         */
        private String timestamp;
    }
}
