package com.ruoyi.cai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cai.domain.User;
import com.ruoyi.cai.domain.UserChatRecord;
import com.ruoyi.cai.dto.app.dto.ImMessageDTO;

/**
 * 聊天记录Service接口
 *
 * @author 77
 * @date 2024-01-09
 */
public interface UserChatRecordService extends IService<UserChatRecord> {

    UserChatRecord saveRecord(User fromUser, User toUser,Long traceId, ImMessageDTO message);
}
