using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiSnsConversationInfoResponse. /// public class OapiSnsConversationInfoResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 结果数据 /// [XmlElement("result")] public SnsOpenGroupInfoResponseDomain Result { get; set; } /// /// 调用结果 /// [XmlElement("success")] public bool Success { get; set; } /// /// SnsOpenGroupInfoResponseDomain Data Structure. /// [Serializable] public class SnsOpenGroupInfoResponseDomain : TopObject { /// /// 群头像 /// [XmlElement("icon")] public string Icon { get; set; } /// /// 会话ID /// [XmlElement("open_conversation_id")] public string OpenConversationId { get; set; } /// /// 群主id /// [XmlElement("owner_unionid")] public string OwnerUnionid { get; set; } /// /// 机器人发消息地址 /// [XmlElement("robot_web_hook_url")] public string RobotWebHookUrl { get; set; } /// /// 模板id /// [XmlElement("template_id")] public string TemplateId { get; set; } /// /// 群名称 /// [XmlElement("title")] public string Title { get; set; } } } }