package com.ruoyi.xq.service;

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

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

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