NIMSDK-iOS
载入中...
搜索中...
未找到
NIMTeamMember.h
浏览该文件的文档.
1//
2// NIMTeamMember.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright (c) 2015 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "NIMTeamDefs.h"
11
12NS_ASSUME_NONNULL_BEGIN
13
14/**
15 * 群成员信息
16 */
17@interface NIMTeamMember : NSObject<NSCopying>
18/**
19 * 群ID
20 */
21@property (nullable,nonatomic,copy,readonly) NSString *teamId;
22
23/**
24 * 群成员ID
25 */
26@property (nullable,nonatomic,copy,readonly) NSString *userId;
27
28/**
29 * 邀请者ID
30 * @dicusssion 此字段仅当该成员为自己时有效。不允许查看其他群成员的邀请者
31 */
32@property (nullable,nonatomic,copy,readonly) NSString *invitor;
33
34/**
35 * 邀请者Accid
36 * @discussion 该属性值为@""或者自身Accid时均表示无邀请人,当为nil时需要主动调用接口去获取
37 */
38@property (nullable,nonatomic,copy,readonly) NSString *inviterAccid;
39
40/**
41 * 群成员类型
42 */
43@property (nonatomic,assign) NIMTeamMemberType type;
44
45
46/**
47 * 群昵称
48 */
49@property (nullable,nonatomic,copy) NSString *nickname;
50
51
52/**
53 * 被禁言
54 */
55@property (nonatomic,assign,readonly) BOOL isMuted;
56
57/**
58 * 进群时间
59 */
60@property (nonatomic,assign,readonly) NSTimeInterval createTime;
61
62
63/**
64 * 新成员群自定义信息
65 */
66@property (nullable,nonatomic,copy) NSString *customInfo;
67
68/**
69 * 特别关注成员列表
70 */
71@property (nullable,nonatomic,copy,readonly) NSArray<NSString *>*followAccountIds;
72
73@end
74
75NS_ASSUME_NONNULL_END
NIMTeamMemberType
Definition: NIMTeamDefs.h:137
Definition: NIMTeamMember.h:17
NSArray< NSString * > * followAccountIds
Definition: NIMTeamMember.h:71
NSString * teamId
Definition: NIMTeamMember.h:21
BOOL isMuted
Definition: NIMTeamMember.h:55
NSString * invitor
Definition: NIMTeamMember.h:32
NSString * inviterAccid
Definition: NIMTeamMember.h:38
NSString * customInfo
Definition: NIMTeamMember.h:66
NSString * nickname
Definition: NIMTeamMember.h:49
NIMTeamMemberType type
Definition: NIMTeamMember.h:43
NSTimeInterval createTime
Definition: NIMTeamMember.h:60
NSString * userId
Definition: NIMTeamMember.h:26