namespace SKIT.FlurlHttpClient.Wechat.Work.Events { /// /// 表示被动回复图片消息的数据。 /// REF: https://developer.work.weixin.qq.com/document/path/90241#%E5%9B%BE%E7%89%87%E6%B6%88%E6%81%AF /// REF: https://developer.work.weixin.qq.com/document/path/90377#%E5%9B%BE%E7%89%87%E6%B6%88%E6%81%AF /// REF: https://developer.work.weixin.qq.com/document/path/90859#%E5%9B%BE%E7%89%87%E6%B6%88%E6%81%AF /// public class ImageMessageReply : WechatWorkEvent { public static class Types { public class Image { /// /// 获取或设置图片 MediaId。 /// [Newtonsoft.Json.JsonProperty("MediaId")] [System.Text.Json.Serialization.JsonPropertyName("MediaId")] [System.Xml.Serialization.XmlElement("MediaId")] public string MediaId { get; set; } = string.Empty; } } /// /// 获取或设置图片信息。 /// [Newtonsoft.Json.JsonProperty("Image")] [System.Text.Json.Serialization.JsonPropertyName("Image")] [System.Xml.Serialization.XmlElement("Image")] public Types.Image Image { get; set; } = new Types.Image(); public ImageMessageReply() { Event = null; MessageType = "image"; } } }