NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatUpdateServerParam.h
浏览该文件的文档.
1//
2// NIMQChatUpdateServerParam.h
3// NIMSDK
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11@class NIMQChatServer;
12
13NS_ASSUME_NONNULL_BEGIN
14
15/**
16 * 修改服务器的参数
17 */
18@interface NIMQChatUpdateServerParam : NSObject
19/**
20 * 圈组服务器id,必填
21 */
22@property (nonatomic, assign) unsigned long long serverId;
23/**
24 * 名称
25 */
26@property (nullable, nonatomic, copy)NSString *name;
27/**
28 * 图标
29 */
30@property (nullable, nonatomic, copy)NSString *icon;
31/**
32 * 自定义扩展
33 */
34@property (nullable, nonatomic, copy)NSString *custom;
35/**
36 * 邀请模式:0-邀请需要同意(默认),1-邀请不需要同意
37 */
38@property (nullable, nonatomic, copy) NSNumber *inviteMode;
39
40/**
41 * 申请模式:0-申请不需要同意(默认),1-申请需要同意
42 */
43@property (nullable, nonatomic, copy) NSNumber *applyMode;
44
45/**
46 * 服务器搜索类型,客户自定义:比如服务器行业类型等,大于0的正整数
47 */
48@property (nullable, nonatomic, copy) NSNumber *searchType;
49
50/**
51 * 服务器是否允许被搜索
52 */
53@property (nullable, nonatomic, copy) NSNumber *searchEnable;
54
55/**
56 * 对某些资料内容另外的反垃圾的业务ID
57 */
58@property (nonatomic, copy) NSString *antispamBusinessId;
59
60@end
61
62NS_ASSUME_NONNULL_END
Definition: NIMQChatServer.h:15
Definition: NIMQChatUpdateServerParam.h:19
unsigned long long serverId
Definition: NIMQChatUpdateServerParam.h:22
NSString * name
Definition: NIMQChatUpdateServerParam.h:26
NSString * antispamBusinessId
Definition: NIMQChatUpdateServerParam.h:58
NSNumber * searchType
Definition: NIMQChatUpdateServerParam.h:48
NSNumber * applyMode
Definition: NIMQChatUpdateServerParam.h:43
NSString * custom
Definition: NIMQChatUpdateServerParam.h:34
NSString * icon
Definition: NIMQChatUpdateServerParam.h:30
NSNumber * searchEnable
Definition: NIMQChatUpdateServerParam.h:53
NSNumber * inviteMode
Definition: NIMQChatUpdateServerParam.h:38