using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiImChatScencegroupRobotQueryResponse. /// public class OapiImChatScencegroupRobotQueryResponse : DingTalkResponse { /// /// 统一错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 机器人 /// [XmlElement("robot")] public OpenRobotQueryResponseDomain Robot { get; set; } /// /// 成功 /// [XmlElement("succ")] public bool Succ { get; set; } /// /// OpenRobotQueryResponseDomain Data Structure. /// [Serializable] public class OpenRobotQueryResponseDomain : TopObject { /// /// unionId(仅当userId无值时返回) /// [XmlElement("unionid")] public string Unionid { get; set; } /// /// userId /// [XmlElement("userid")] public string Userid { get; set; } } } }