package com.ruoyi.project.common.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.common.domain.MessageChatContent;
import com.ruoyi.project.common.dto.MessageChatContentDto;

import java.util.List;

/**
 * 聊天记录Service接口
 *
 * @author jubs
 * @date 2024-05-14
 */
public interface IMessageChatContentService extends IService<MessageChatContent> {

    /**
     * description: getMessageChatContentList 查询该聊天室 最新的10条聊天记录
     * @param chatRoomId:
     * @return java.util.List<com.ruoyi.project.common.dto.MessageChatContentDto>
     * @throws
     * @author jubs 😀
     * @date 2024/5/17 14:45
     */
    List<MessageChatContentDto> getMessageChatContentList(Long chatRoomId);


    List<MessageChatContentDto> getMessageChatContentListPage(Long chatRoomId);

    List<MessageChatContentDto> getContentByUserIds(List<Long> userIds);

}
