15#import <Foundation/Foundation.h>
17#import "EMCommonDefs.h"
26typedef NS_ENUM(NSInteger, EMChatroomPermissionType) {
27 EMChatroomPermissionTypeNone = -1,
28 EMChatroomPermissionTypeMember = 0,
29 EMChatroomPermissionTypeAdmin,
30 EMChatroomPermissionTypeOwner,
50@property (nonatomic, copy, readonly) NSString * _Nullable
chatroomId;
59@property (nonatomic, copy, readonly) NSString * _Nullable
subject;
68@property (nonatomic, copy, readonly) NSString * _Nullable
description;
79@property (nonatomic, copy, readonly) NSString * _Nullable
owner;
88@property (nonatomic, copy, readonly) NSString * _Nullable
announcement;
99@property (nonatomic, copy, readonly) NSArray<NSString *> * _Nullable
adminList;
108@property (nonatomic, copy, readonly) NSArray<NSString *> * _Nullable
memberList;
121@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable
blacklist;
135@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable
muteList;
148@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable
whitelist;
200+ (instancetype _Nullable)chatroomWithId:(NSString * _Nonnull )aChatroomId;
202#pragma mark - EM_DEPRECATED_IOS 3.8.8
215@property (nonatomic, strong, readonly) NSArray *whiteList
__deprecated_msg(
"Use whitelist instead");
217#pragma mark - EM_DEPRECATED_IOS 3.3.0
226@property (nonatomic, copy, readonly) NSArray *members
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -memberList instead");
235@property (nonatomic, readonly) NSInteger membersCount
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -occupantsCount instead");
244@property (nonatomic, readonly) NSInteger maxMembersCount
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -maxOccupantsCount instead");
246#pragma mark - EM_DEPRECATED_IOS < 3.2.3
255@property (nonatomic, copy, readonly) NSArray *occupants
__deprecated_msg(
"Use -members instead");
Definition: EMChatroom.h:42
NSArray *whiteList __deprecated_msg("Use whitelist instead")
NSInteger maxOccupantsCount
Definition: EMChatroom.h:166
NSArray< NSString * > *_Nullable blacklist
Definition: EMChatroom.h:121
NSArray< NSString * > *_Nullable adminList
Definition: EMChatroom.h:99
NSArray< NSString * > *_Nullable muteList
Definition: EMChatroom.h:135
NSString *_Nullable subject
Definition: EMChatroom.h:59
NSString *_Nullable description
Definition: EMChatroom.h:68
BOOL isMuteAllMembers
Definition: EMChatroom.h:184
NSInteger occupantsCount
Definition: EMChatroom.h:175
NSInteger membersCount EM_DEPRECATED_IOS(3_1_0, 3_3_0, "Use -occupantsCount instead")
NSString *_Nullable owner
Definition: EMChatroom.h:79
"Use +chatroomWithId: instead" __deprecated_msg()
NSArray *members EM_DEPRECATED_IOS(3_1_0, 3_3_0, "Use -memberList instead")
EMChatroomPermissionType permissionType
Definition: EMChatroom.h:157
NSString *_Nullable chatroomId
Definition: EMChatroom.h:50
NSArray< NSString * > *_Nullable memberList
Definition: EMChatroom.h:108
NSInteger maxMembersCount EM_DEPRECATED_IOS(3_1_0, 3_3_0, "Use -maxOccupantsCount instead")
NSArray *occupants __deprecated_msg("Use -members instead")
NSString *_Nullable announcement
Definition: EMChatroom.h:88
NSArray< NSString * > *_Nullable whitelist
Definition: EMChatroom.h:148