2025-10-09 16:48:46 +08:00

71 lines
1.4 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// NIMTeamMember.h
// NIMLib
//
// Created by Netease.
// Copyright (c) 2015 Netease. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NIMTeamDefs.h"
NS_ASSUME_NONNULL_BEGIN
/**
* 群成员信息
*/
@interface NIMTeamMember : NSObject<NSCopying>
/**
* 群ID
*/
@property (nullable,nonatomic,copy,readonly) NSString *teamId;
/**
* 群成员ID
*/
@property (nullable,nonatomic,copy,readonly) NSString *userId;
/**
* 邀请者ID
* @dicusssion 此字段仅当该成员为自己时有效。不允许查看其他群成员的邀请者
*/
@property (nullable,nonatomic,copy,readonly) NSString *invitor;
/**
* 邀请者Accid
* @discussion 该属性值为@""或者自身Accid时均表示无邀请人当为nil时需要主动调用接口去获取
*/
@property (nullable,nonatomic,copy,readonly) NSString *inviterAccid;
/**
* 群成员类型
*/
@property (nonatomic,assign) NIMTeamMemberType type;
/**
* 群昵称
*/
@property (nullable,nonatomic,copy) NSString *nickname;
/**
* 被禁言
*/
@property (nonatomic,assign,readonly) BOOL isMuted;
/**
* 进群时间
*/
@property (nonatomic,assign,readonly) NSTimeInterval createTime;
/**
* 新成员群自定义信息
*/
@property (nullable,nonatomic,copy) NSString *customInfo;
@end
NS_ASSUME_NONNULL_END