using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiLiveGroupliveDetailGetResponse. /// public class OapiLiveGroupliveDetailGetResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误描述 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 直播详情 /// [XmlElement("result")] public GroupLiveStatisticsDomain Result { get; set; } /// /// GroupliveviewersDomain Data Structure. /// [Serializable] public class GroupliveviewersDomain : TopObject { /// /// 直播观看时长 /// [XmlElement("play_duration")] public long PlayDuration { get; set; } /// /// 回放观看时长 /// [XmlElement("play_record_duration")] public long PlayRecordDuration { get; set; } /// /// 观看用户userid /// [XmlElement("userid")] public string Userid { get; set; } } /// /// GroupLiveStatisticsDomain Data Structure. /// [Serializable] public class GroupLiveStatisticsDomain : TopObject { /// /// 查看人员列表 /// [XmlArray("group_live_viewers")] [XmlArrayItem("groupliveviewers")] public List GroupLiveViewers { get; set; } /// /// 群直播分享url /// [XmlElement("live_share_url")] public string LiveShareUrl { get; set; } /// /// 消息数 /// [XmlElement("message_count")] public long MessageCount { get; set; } /// /// 点赞数 /// [XmlElement("praise_count")] public long PraiseCount { get; set; } /// /// 直播观看人次 /// [XmlElement("pv")] public long Pv { get; set; } /// /// 未看人数 /// [XmlElement("unviewed_count")] public long UnviewedCount { get; set; } /// /// 已看人数 /// [XmlElement("viewer_count")] public long ViewerCount { get; set; } } } }