feat(work): 导入企业微信 API 客户端项目

This commit is contained in:
Fu Diwei
2021-05-30 23:13:46 +08:00
parent f4932b2f89
commit 9b208d66cc
257 changed files with 8437 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace SKIT.FlurlHttpClient.Wechat.Work
{
/// <summary>
/// 表示微信 API 回调通知事件的基类。
/// </summary>
[Serializable]
public class WechatWorkEvent
{
/// <summary>
/// 获取或设置接收的企业 ID。
/// </summary>
[XmlElement("ToUserName")]
public string ToUserName { get; set; } = default!;
/// <summary>
/// 获取或设置接收的应用 ID。
/// </summary>
[XmlElement("AgentID")]
public string AgentId { get; set; } = default!;
/// <summary>
/// 获取或设置经过加密的消息数据。
/// </summary>
[XmlElement("Encrypt")]
public string EncryptedData { get; set; } = default!;
}
}