NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatServer.h
浏览该文件的文档.
1//
2// NIMQChatServer.h
3// NIMSDK
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "NIMQChatDefs.h"
11
12NS_ASSUME_NONNULL_BEGIN
13
14@interface NIMQChatServer : NSObject
15/**
16 * 圈组服务器id
17 */
18@property (nonatomic, assign) unsigned long long serverId;
19
20/**
21 * 应用id
22 */
23@property (nonatomic, assign) NSInteger appId;
24
25/**
26 * 名称
27 */
28@property (nullable, nonatomic, copy) NSString *name;
29
30/**
31 * 图标
32 */
33@property (nullable, nonatomic, copy) NSString *icon;
34
35/**
36 * 自定义扩展
37 */
38@property (nullable, nonatomic, copy) NSString *custom;
39
40/**
41 * 所有者
42 */
43@property (nullable, nonatomic, copy) NSString *owner;
44
45/**
46 * 成员数
47 */
48@property (nonatomic, assign) NSInteger memberNumber;
49
50/**
51 * 邀请模式:0-邀请需要同意(默认),1-邀请不需要同意
52 */
53@property (nonatomic, assign) NIMQChatServerInviteMode inviteMode;
54
55/**
56 * 申请模式:0-申请不需要同意(默认),1-申请需要同意
57 */
58@property (nonatomic, assign) NIMQChatServerApplyMode applyMode;
59
60/**
61 * 有效标志:0-无效,1-有效
62 */
63@property (nonatomic, assign) BOOL validFlag;
64
65/**
66 * 创建时间
67 */
68@property (nonatomic, assign) NSTimeInterval createTime;
69
70/**
71 * 更新时间
72 */
73@property (nonatomic, assign) NSTimeInterval updateTime;
74
75/**
76 * 频道数
77 */
78@property (nonatomic, assign) NSInteger channelNumber;
79
80/**
81 * 频道分组的数量
82 */
83@property (nonatomic, assign) NSInteger catogeryNumber;
84
85/**
86 * 服务器搜索类型,客户自定义:比如服务器行业类型等,大于0的正整数
87 */
88@property (nullable, nonatomic, copy) NSNumber *searchType;
89
90/**
91 * 服务器是否允许被搜索,默认允许
92 */
93@property (nonatomic, assign) BOOL searchEnable;
94
95/**
96 * 自定义排序权重值
97 */
98@property (nonatomic, assign) long reorderWeight;
99
100@end
101
102NS_ASSUME_NONNULL_END
NIMQChatServerInviteMode
Definition: NIMQChatDefs.h:434
NIMQChatServerApplyMode
Definition: NIMQChatDefs.h:440
Definition: NIMQChatServer.h:15
NSInteger catogeryNumber
Definition: NIMQChatServer.h:83
NSString * owner
Definition: NIMQChatServer.h:43
NSInteger channelNumber
Definition: NIMQChatServer.h:78
NSNumber * searchType
Definition: NIMQChatServer.h:88
NSString * icon
Definition: NIMQChatServer.h:33
NIMQChatServerApplyMode applyMode
Definition: NIMQChatServer.h:58
NSInteger memberNumber
Definition: NIMQChatServer.h:48
NSTimeInterval createTime
Definition: NIMQChatServer.h:68
NSInteger appId
Definition: NIMQChatServer.h:23
NSString * name
Definition: NIMQChatServer.h:28
NSString * custom
Definition: NIMQChatServer.h:38
NSTimeInterval updateTime
Definition: NIMQChatServer.h:73
NIMQChatServerInviteMode inviteMode
Definition: NIMQChatServer.h:53
BOOL searchEnable
Definition: NIMQChatServer.h:93
BOOL validFlag
Definition: NIMQChatServer.h:63
long reorderWeight
Definition: NIMQChatServer.h:98
unsigned long long serverId
Definition: NIMQChatServer.h:18