NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatCreateServerParam.h
浏览该文件的文档.
1//
2// NIMQChatCreateServerParam.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/**
15 * 创建服务器的回调类型
16 */
17@interface NIMQChatCreateServerParam : NSObject
18
19/**
20* 名称
21*/
22@property (nullable, nonatomic, copy) NSString *name;
23
24/**
25 * 图标
26 */
27@property (nullable, nonatomic, copy) NSString *icon;
28
29/**
30 * 自定义扩展
31 */
32@property (nullable, nonatomic, copy) NSString *custom;
33
34/**
35 * 邀请模式:0-邀请需要同意(默认),1-邀请不需要同意
36 */
37@property (nonatomic, assign) NIMQChatServerInviteMode inviteMode;
38
39/**
40 * 申请模式:0-申请不需要同意(默认),1-申请需要同意
41 */
42@property (nonatomic, assign) NIMQChatServerApplyMode applyMode;
43
44/**
45 * 服务器搜索类型,客户自定义:比如服务器行业类型等,大于0的正整数
46 */
47@property (nullable, nonatomic, copy) NSNumber *searchType;
48
49/**
50 * 服务器是否允许被搜索,默认允许
51 */
52@property (nonatomic, assign) BOOL searchEnable;
53
54/**
55 * 对某些资料内容另外的反垃圾的业务ID
56 */
57@property (nonatomic, copy) NSString *antispamBusinessId;
58
59@end
60
61
62NS_ASSUME_NONNULL_END
NIMQChatServerInviteMode
Definition: NIMQChatDefs.h:434
NIMQChatServerApplyMode
Definition: NIMQChatDefs.h:440
Definition: NIMQChatCreateServerParam.h:18
NIMQChatServerApplyMode applyMode
Definition: NIMQChatCreateServerParam.h:42
NSString * icon
Definition: NIMQChatCreateServerParam.h:27
NSString * custom
Definition: NIMQChatCreateServerParam.h:32
NSString * name
Definition: NIMQChatCreateServerParam.h:22
NSNumber * searchType
Definition: NIMQChatCreateServerParam.h:47
NIMQChatServerInviteMode inviteMode
Definition: NIMQChatCreateServerParam.h:37
NSString * antispamBusinessId
Definition: NIMQChatCreateServerParam.h:57
BOOL searchEnable
Definition: NIMQChatCreateServerParam.h:52