zrg
2024-08-16 18865d8bf24382e850e661dec6cca0e8b9dba6ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiChatGetResponse.
    /// </summary>
    public class OapiChatGetResponse : DingTalkResponse
    {
        /// <summary>
        /// chat_info
        /// </summary>
        [XmlElement("chat_info")]
        public ChatInfoDomain ChatInfo { get; set; }
 
        /// <summary>
        /// errcode
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// errmsg
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
    /// <summary>
/// ChatInfoDomain Data Structure.
/// </summary>
[Serializable]
 
public class ChatInfoDomain : TopObject
{
            /// <summary>
            /// agentidlist
            /// </summary>
            [XmlArray("agentidlist")]
            [XmlArrayItem("string")]
            public List<string> Agentidlist { get; set; }
    
            /// <summary>
            /// 是否全员禁用 0 不禁言 1 全员禁言
            /// </summary>
            [XmlElement("chatBannedType")]
            public long ChatBannedType { get; set; }
    
            /// <summary>
            /// conversationTag
            /// </summary>
            [XmlElement("conversationTag")]
            public long ConversationTag { get; set; }
    
            /// <summary>
            /// extidlist
            /// </summary>
            [XmlArray("extidlist")]
            [XmlArrayItem("string")]
            public List<string> Extidlist { get; set; }
    
            /// <summary>
            /// 群头像mediaId
            /// </summary>
            [XmlElement("icon")]
            public string Icon { get; set; }
    
            /// <summary>
            /// 仅群主和群管理员可管理 0否 1 是
            /// </summary>
            [XmlElement("managementType")]
            public long ManagementType { get; set; }
    
            /// <summary>
            /// 尽群主和管理员可@所有人 0 否 1 是
            /// </summary>
            [XmlElement("mentionAllAuthority")]
            public long MentionAllAuthority { get; set; }
    
            /// <summary>
            /// name
            /// </summary>
            [XmlElement("name")]
            public string Name { get; set; }
    
            /// <summary>
            /// owner
            /// </summary>
            [XmlElement("owner")]
            public string Owner { get; set; }
    
            /// <summary>
            /// 是否可以搜索群名 0 不可以 1可以搜索
            /// </summary>
            [XmlElement("searchable")]
            public long Searchable { get; set; }
    
            /// <summary>
            /// 新成员可查看聊天历史 0否 1是
            /// </summary>
            [XmlElement("showHistoryType")]
            public long ShowHistoryType { get; set; }
    
            /// <summary>
            /// 群状态 1-正常 2-已解散
            /// </summary>
            [XmlElement("status")]
            public long Status { get; set; }
    
            /// <summary>
            /// useridlist
            /// </summary>
            [XmlArray("useridlist")]
            [XmlArrayItem("string")]
            public List<string> Useridlist { get; set; }
    
            /// <summary>
            /// 入群需群主或群管理员同意 0不需要 1需要
            /// </summary>
            [XmlElement("validationType")]
            public long ValidationType { get; set; }
}
 
    }
}