2024-01-29 23:12:28 +08:00
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Events
|
2021-06-07 00:24:22 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// <para>表示 EVENT.living_status_change 事件的数据。</para>
|
2022-01-13 17:05:54 +08:00
|
|
|
/// <para>REF: https://developer.work.weixin.qq.com/document/path/94145 </para>
|
|
|
|
/// <para>REF: https://developer.work.weixin.qq.com/document/path/94308 </para>
|
2021-06-07 00:24:22 +08:00
|
|
|
/// </summary>
|
2024-01-29 23:12:28 +08:00
|
|
|
public class LivingStatusChangeEvent : WechatWorkEvent
|
2021-06-07 00:24:22 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 获取或设置应用 ID。
|
|
|
|
/// </summary>
|
2024-01-29 23:12:28 +08:00
|
|
|
[Newtonsoft.Json.JsonProperty("AgentID")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("AgentID")]
|
2021-06-07 00:24:22 +08:00
|
|
|
[System.Xml.Serialization.XmlElement("AgentID")]
|
|
|
|
public int AgentId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取或设置直播 ID。
|
|
|
|
/// </summary>
|
2024-01-29 23:12:28 +08:00
|
|
|
[Newtonsoft.Json.JsonProperty("LivingId")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("LivingId")]
|
2021-06-07 00:24:22 +08:00
|
|
|
[System.Xml.Serialization.XmlElement("LivingId")]
|
|
|
|
public string LivingId { get; set; } = default!;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取或设置直播状态。
|
|
|
|
/// </summary>
|
2024-01-29 23:12:28 +08:00
|
|
|
[Newtonsoft.Json.JsonProperty("Status")]
|
|
|
|
[System.Text.Json.Serialization.JsonPropertyName("Status")]
|
2021-06-07 00:24:22 +08:00
|
|
|
[System.Xml.Serialization.XmlElement("Status")]
|
|
|
|
public int Status { get; set; }
|
|
|
|
}
|
|
|
|
}
|