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

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

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

/**
 * 语聊视频消息
 *
 * @author luoyangwei
 * @date 2024年10月30日15:20:35
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ChatVideoMessage extends BasicChatMessage implements Serializable {
    @Serial
    private static final long serialVersionUID = 6527487705476183224L;

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

    @Data
    @Accessors(chain = true)
    public static class ChatVideoContent {
        private String fileUrl;
        private String fileType;
        private Integer duration;
    }
}
