2021-06-07 00:24:22 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// <para>表示 EVENT.living_status_change 事件的数据。</para>
|
|
|
|
|
/// <para>REF: https://open.work.weixin.qq.com/api/doc/90000/90135/94145 </para>
|
|
|
|
|
/// <para>REF: https://open.work.weixin.qq.com/api/doc/90001/90143/94308 </para>
|
|
|
|
|
/// </summary>
|
2021-10-09 11:51:00 +08:00
|
|
|
|
public class LivingStatusChangeEvent : WechatWorkEvent, WechatWorkEvent.Serialization.IXmlSerializable
|
2021-06-07 00:24:22 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取或设置应用 ID。
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Xml.Serialization.XmlElement("AgentID")]
|
|
|
|
|
public int AgentId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取或设置直播 ID。
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Xml.Serialization.XmlElement("LivingId")]
|
|
|
|
|
public string LivingId { get; set; } = default!;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取或设置直播状态。
|
|
|
|
|
/// </summary>
|
|
|
|
|
[System.Xml.Serialization.XmlElement("Status")]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|