using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// CorpChatbotAddchatbotinstanceResponse.
///
public class CorpChatbotAddchatbotinstanceResponse : DingTalkResponse
{
///
/// result
///
[XmlElement("result")]
public DingOpenResultDomain Result { get; set; }
///
/// ChatbotInstanceVoDomain Data Structure.
///
[Serializable]
public class ChatbotInstanceVoDomain : TopObject
{
///
/// 机器人实例userId
///
[XmlElement("chatbot_user_id")]
public string ChatbotUserId { get; set; }
///
/// 机器人发消息时的地址
///
[XmlElement("webhook")]
public string Webhook { get; set; }
}
///
/// DingOpenResultDomain Data Structure.
///
[Serializable]
public class DingOpenResultDomain : TopObject
{
///
/// dingOpenErrcode
///
[XmlElement("ding_open_errcode")]
public long DingOpenErrcode { get; set; }
///
/// errorMsg
///
[XmlElement("error_msg")]
public string ErrorMsg { get; set; }
///
/// result
///
[XmlElement("result")]
public ChatbotInstanceVoDomain Result { get; set; }
///
/// success
///
[XmlElement("success")]
public bool Success { get; set; }
}
}
}