IM/backend/IM_API/Dtos/Conversation/ClearConversationsDto.cs
2026-02-12 21:59:08 +08:00

27 lines
619 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}
}