IRoomIMContentService.cs
1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using NCC.Common.Filter;
using NCC.Message.Entitys;
using NCC.Message.Entitys.Model.IM;
using System.Collections.Generic;
namespace NCC.Message.Interfaces.Message
{
/// <summary>
/// 群组、房间聊天内容
/// 版 本:V1.20.15
/// 版 权:Wesley(https://www.NCCsoft.com)
/// 作 者:NCC开发平台组
/// 日 期:2022-03-16
/// </summary>
public interface IRoomIMContentService
{
/// <summary>
/// 获取消息列表
/// </summary>
/// <param name="sendUserId"></param>
/// <param name="receiveUserId"></param>
/// <param name="input"></param>
/// <returns></returns>
dynamic GetMessageList(string sendUserId, string receiveUserId, PageInputBase input);
/// <summary>
/// 发送消息
/// </summary>
/// <param name="sendUserId">发送者</param>
/// <param name="receiveUserId">接收者</param>
/// <param name="message">消息内容</param>
/// <param name="messageType">消息类型</param>
/// <returns></returns>
int SendMessage(string sendUserId, string receiveUserId, string message, string messageType);
}
}