15 #import <Foundation/Foundation.h> 17 #import "EMCommonDefs.h" 27 EMChatroomPermissionTypeNone = -1,
28 EMChatroomPermissionTypeMember = 0,
29 EMChatroomPermissionTypeAdmin,
30 EMChatroomPermissionTypeOwner,
31 }EMChatroomPermissionType;
50 @property (nonatomic, copy, readonly) NSString *
chatroomId;
59 @property (nonatomic, copy, readonly) NSString *
subject;
79 @property (nonatomic, copy, readonly) NSString *
owner;
99 @property (nonatomic, copy, readonly) NSArray *
adminList;
121 @property (nonatomic, strong, readonly) NSArray *
blacklist;
134 @property (nonatomic, strong, readonly) NSArray *
muteList;
178 + (instancetype)chatroomWithId:(NSString *)aChatroomId;
180 #pragma mark - EM_DEPRECATED_IOS 3.3.0 189 @property (nonatomic, copy, readonly) NSArray *members
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -memberList");
198 @property (nonatomic, readonly) NSInteger membersCount
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -occupantsCount");
207 @property (nonatomic, readonly) NSInteger maxMembersCount
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -maxOccupantsCount");
209 #pragma mark - EM_DEPRECATED_IOS < 3.2.3 218 @property (nonatomic, copy, readonly) NSArray *occupants
__deprecated_msg(
"Use - members");
NSString * description
Definition: EMChatroom.h:68
NSArray * blacklist
Definition: EMChatroom.h:121
NSInteger maxOccupantsCount
Definition: EMChatroom.h:152
NSArray *members EM_DEPRECATED_IOS(3_1_0, 3_3_0,"Use -memberList")
NSString * subject
Definition: EMChatroom.h:59
NSArray * adminList
Definition: EMChatroom.h:99
NSString * owner
Definition: EMChatroom.h:79
NSArray * muteList
Definition: EMChatroom.h:134
EMChatroomPermissionType permissionType
Definition: EMChatroom.h:143
Definition: EMChatroom.h:41
NSInteger occupantsCount
Definition: EMChatroom.h:161
"Use +chatroomWithId:" __deprecated_msg()
NSString * chatroomId
Definition: EMChatroom.h:50
NSString * announcement
Definition: EMChatroom.h:88
NSArray * memberList
Definition: EMChatroom.h:108