NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatChannelRole.h
浏览该文件的文档.
1//
2// NIMQChatChannelRole.h
3// NIMLib
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
14@interface NIMQChatChannelRole : NSObject
15
16/**
17 * 服务器id
18 */
19@property (nonatomic, assign) unsigned long long serverId;
20/**
21 * 身份组id
22 */
23@property (nonatomic, assign) unsigned long long roleId;
24/**
25 * 继承服务器的身份组id
26 */
27@property (nonatomic, assign) unsigned long long parentRoleId;
28/**
29 * 频道id
30 */
31@property (nonatomic, assign) unsigned long long channelId;
32/**
33 * 名称
34 */
35@property (nonnull, nonatomic, copy) NSString *name;
36/**
37 * 类型
38 */
39@property (nonatomic, assign) NIMQChatRoleType type;
40/**
41 * icon图
42 */
43@property (nonatomic, copy) NSString *icon;
44/**
45 * 自定义扩展
46 */
47@property (nonatomic, copy) NSString *ext;
48/**
49 * 该身份组各资源的权限状态
50 */
51@property (nonatomic, copy) NSArray <NIMQChatPermissionStatusInfo *> *auths;
52/**
53 * 创建时间
54 */
55@property (nonatomic, assign) NSTimeInterval createTime;
56/**
57 * 更新时间
58 */
59@property (nonatomic, assign) NSTimeInterval updateTime;
60
61@end
62
63NS_ASSUME_NONNULL_END
NIMQChatRoleType
Definition: NIMQChatDefs.h:260
Definition: NIMQChatChannelRole.h:15
NSString * ext
Definition: NIMQChatChannelRole.h:47
unsigned long long parentRoleId
Definition: NIMQChatChannelRole.h:27
unsigned long long channelId
Definition: NIMQChatChannelRole.h:31
NIMQChatRoleType type
Definition: NIMQChatChannelRole.h:39
unsigned long long roleId
Definition: NIMQChatChannelRole.h:23
NSTimeInterval createTime
Definition: NIMQChatChannelRole.h:55
NSArray< NIMQChatPermissionStatusInfo * > * auths
Definition: NIMQChatChannelRole.h:51
NSTimeInterval updateTime
Definition: NIMQChatChannelRole.h:59
unsigned long long serverId
Definition: NIMQChatChannelRole.h:19
NSString * name
Definition: NIMQChatChannelRole.h:35
NSString * icon
Definition: NIMQChatChannelRole.h:43
Definition: NIMQChatPermissionStatusInfo.h:15