27 lines
619 B
C#
27 lines
619 B
C#
namespace IM_API.Dtos.Conversation
|
|
{
|
|
public class ClearConversationsDto
|
|
{
|
|
public int UserId { get; set; }
|
|
/// <summary>
|
|
/// 聊天类型
|
|
/// </summary>
|
|
public MsgChatType ChatType { get; set; }
|
|
/// <summary>
|
|
/// 目标ID,聊天类型为群则为群id,私聊为用户id
|
|
/// </summary>
|
|
public int TargetId { get; set; }
|
|
}
|
|
public enum MsgChatType
|
|
{
|
|
/// <summary>
|
|
/// 私聊
|
|
/// </summary>
|
|
single = 0,
|
|
/// <summary>
|
|
/// 私聊
|
|
/// </summary>
|
|
group = 1
|
|
}
|
|
}
|