NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatCreateServerRoleParam.h
浏览该文件的文档.
1//
2// NIMQChatCreateServerRoleParam.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 NIMQChatCreateServerRoleParam : NSObject
18/**
19 * 服务器id
20 */
21@property (nonatomic, assign) unsigned long long serverId;
22/**
23 * 名称
24 */
25@property (nonnull, nonatomic, copy) NSString *name;
26/**
27 * 类型
28 */
29@property (nonatomic, assign) NIMQChatRoleType type;
30/**
31 * icon图
32 */
33@property (nonatomic, copy) NSString *icon;
34/**
35 * 自定义扩展
36 */
37@property (nonatomic, copy) NSString *ext;
38/**
39 * 优先级,数值越大,优先级越小。默认当前最大数值+1
40 */
41@property (nonatomic, strong) NSNumber *priority;
42
43/**
44 * 对某些资料内容另外的反垃圾的业务ID
45 */
46@property (nonatomic, copy) NSString *antispamBusinessId;
47
48
49@end
50
51
52NS_ASSUME_NONNULL_END
NIMQChatRoleType
Definition: NIMQChatDefs.h:264
Definition: NIMQChatCreateServerRoleParam.h:18
NIMQChatRoleType type
Definition: NIMQChatCreateServerRoleParam.h:29
NSString * icon
Definition: NIMQChatCreateServerRoleParam.h:33
NSString * antispamBusinessId
Definition: NIMQChatCreateServerRoleParam.h:46
NSString * name
Definition: NIMQChatCreateServerRoleParam.h:25
NSNumber * priority
Definition: NIMQChatCreateServerRoleParam.h:41
NSString * ext
Definition: NIMQChatCreateServerRoleParam.h:37
unsigned long long serverId
Definition: NIMQChatCreateServerRoleParam.h:21