using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.TencentIM
{
public class TencentResult
{
///
/// 请求处理的结果:
/// OK:表示处理成功
/// FAIL:表示失败
///
public string ActionStatus { get; set; }
///
/// 错误码
/// 0:表示成功
/// 非0:表示失败
///
public int ErrorCode { get; set; }
///
/// 详细错误信息
///
public string ErrorInfo { get; set; }
///
/// 详细的客户端展示信息
///
public string? ErrorDisplay { get; set; }
}
public class TenantItemResult: TencentResult
{
public List ResultItem { get; set; }
}
public class SendMsgResult : TencentResult
{
///
/// 消息时间戳
///
public long MsgTime { get; set; }
///
/// 消息唯一标识
///
public string MsgKey { get; set; }
///
/// 客户端唯一标识
///
public string MsgId { get; set; }
///
/// 部分发送失败的用户列表
///
public List? ErrorList { get; set; }
}
public class ErrorListResult
{
///
/// 目标用户帐号
///
public string To_Account { get; set; }
///
/// 错误码
///
public int ErrorCode { get; set; }
}
}