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;
134@property (nonatomic, strong, readonly) NSDictionary<NSString *, NSNumber*> * _Nullable
muteMembers;
147@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable
whitelist;
257+ (instancetype _Nullable)chatroomWithId:(NSString * _Nonnull )aChatroomId;
270@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable muteList
__deprecated_msg(
"Use muteMembers instead");
Definition: EMChatroom.h:42
NSInteger maxOccupantsCount
Definition: EMChatroom.h:165
NSArray< NSString * > *_Nullable blacklist
Definition: EMChatroom.h:121
NSArray< NSString * > *_Nullable adminList
Definition: EMChatroom.h:99
NSString *_Nullable subject
Definition: EMChatroom.h:59
NSString *_Nullable description
Definition: EMChatroom.h:68
BOOL isMuteAllMembers
Definition: EMChatroom.h:191
NSInteger occupantsCount
Definition: EMChatroom.h:180
NSString *_Nullable owner
Definition: EMChatroom.h:79
NSDictionary< NSString *, NSNumber * > *_Nullable muteMembers
Definition: EMChatroom.h:134
EMChatroomPermissionType permissionType
Definition: EMChatroom.h:156
BOOL isInWhitelist
Definition: EMChatroom.h:219
NSString *_Nullable chatroomId
Definition: EMChatroom.h:50
NSArray< NSString * > *_Nullable memberList
Definition: EMChatroom.h:108
NSInteger createTimestamp
Definition: EMChatroom.h:202
NSArray< NSString * > *_Nullable muteList __deprecated_msg("Use muteMembers instead")
NSString *_Nullable announcement
Definition: EMChatroom.h:88
NSArray< NSString * > *_Nullable whitelist
Definition: EMChatroom.h:147
NSInteger muteExpireTimestamp
Definition: EMChatroom.h:240