NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatMemberRole.h
浏览该文件的文档.
1//
2// NIMQChatMemberRole.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11#import "NIMQChatDefs.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
16
17@interface NIMQChatMemberRole : NSObject
18
19/**
20 * 服务器id
21 */
22@property (nonatomic, assign) unsigned long long serverId;
23/**
24 * 定制权限id
25 */
26@property (nonatomic, assign) unsigned long long roleId;
27/**
28 * 用户id
29 */
30@property (nonatomic, copy) NSString *accid;
31/**
32 * 频道id
33 */
34@property (nonatomic, assign) unsigned long long channelId;
35/**
36 * 该身份组各资源的权限状态
37 */
38@property (nonatomic, copy) NSArray <NIMQChatPermissionStatusInfo *> *auths;
39
40/**
41 * 创建时间
42 */
43@property (nonatomic, assign) NSTimeInterval createTime;
44/**
45 * 更新时间
46 */
47@property (nonatomic, assign) NSTimeInterval updateTime;
48/**
49 * 昵称
50 * */
51@property (nonatomic, copy) NSString *nick;
52/**
53 * 头像
54 */
55@property (nonatomic, copy) NSString *avatar;
56/**
57 * 自定义字段
58 */
59@property (nonatomic, copy) NSString *custom;
60/**
61 * 成员类型
62 */
63@property (nonatomic, assign) NIMQChatServerMemberType type;
64/**
65 * 加入时间
66 */
67@property (nonatomic, assign) NSTimeInterval joinTime;
68/**
69 * 邀请者accid
70 */
71@property (nonatomic, copy) NSString *inviter;
72
73@end
74
75NS_ASSUME_NONNULL_END
NIMQChatServerMemberType
Definition: NIMQChatDefs.h:408
Definition: NIMQChatMemberRole.h:18
NIMQChatServerMemberType type
Definition: NIMQChatMemberRole.h:63
NSArray< NIMQChatPermissionStatusInfo * > * auths
Definition: NIMQChatMemberRole.h:38
NSString * accid
Definition: NIMQChatMemberRole.h:30
NSString * avatar
Definition: NIMQChatMemberRole.h:55
NSString * custom
Definition: NIMQChatMemberRole.h:59
NSString * nick
Definition: NIMQChatMemberRole.h:51
NSTimeInterval createTime
Definition: NIMQChatMemberRole.h:43
NSString * inviter
Definition: NIMQChatMemberRole.h:71
unsigned long long roleId
Definition: NIMQChatMemberRole.h:26
NSTimeInterval joinTime
Definition: NIMQChatMemberRole.h:67
unsigned long long serverId
Definition: NIMQChatMemberRole.h:22
unsigned long long channelId
Definition: NIMQChatMemberRole.h:34
NSTimeInterval updateTime
Definition: NIMQChatMemberRole.h:47
Definition: NIMQChatPermissionStatusInfo.h:15