package com.sikey.wa04.common.dto.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 语聊文本消息
 *
 * @author luoyangwei
 * @date 2024年10月14日14:58:55
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class ChatTextMessage extends BasicChatMessage implements Serializable {
    @Serial
    private static final long serialVersionUID = -7474476471144411028L;

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

    @Data
    @Accessors(chain = true)
    public static class ChatTextContent {
        private String raw;
    }
}
