namespace Application.Domain; public interface IMessageService { Task GetNoReadCount(string userId); #region 私聊消息 string GetTalkId(string userId, string otId); Task> GetUserNoReadData(string talkId); Task> GetUserMessageData(string talkId, int page, int limit, RefAsync total); Task> GetUserMessage(string userId, int type, int page, int limit, RefAsync total); Task SendMsg(string sendId, string toUser, string msg); Task SetMsgRead(List msgIds, string userId); Task DeleteMsgByTalkId(string talkId, string userId); #endregion }