15#import <Foundation/Foundation.h>
16NS_ASSUME_NONNULL_BEGIN
25typedef NS_ENUM(NSInteger, EMChatroomBeKickedReason)
27 EMChatroomBeKickedReasonBeRemoved = 0,
28 EMChatroomBeKickedReasonDestroyed,
29 EMChatroomBeKickedReasonOffline,
62- (void)userDidJoinChatroom:(
EMChatroom *)aChatroom
63 user:(NSString *)aUsername
64 ext:(NSString* _Nullable)ext;
79- (void)userDidLeaveChatroom:(
EMChatroom *)aChatroom
80 user:(NSString *)aUsername;
95- (void)didDismissFromChatroom:(
EMChatroom *)aChatroom
96 reason:(EMChatroomBeKickedReason)aReason;
109- (void)chatroomSpecificationDidUpdate:(
EMChatroom *)aChatroom;
124- (void)chatroomMuteListDidUpdate:(
EMChatroom *)aChatroom
125 addedMutedMembers:(NSDictionary<NSString *,NSNumber*> *)aMutes;
140- (void)chatroomMuteListDidUpdate:(
EMChatroom *)aChatroom
141 removedMutedMembers:(NSArray<NSString *> *)aMutes;
156- (void)chatroomWhiteListDidUpdate:(
EMChatroom *)aChatroom
157 addedWhiteListMembers:(NSArray<NSString *> *)aMembers;
172- (void)chatroomWhiteListDidUpdate:(
EMChatroom *)aChatroom
173 removedWhiteListMembers:(NSArray<NSString *> *)aMembers;
188- (void)chatroomAllMemberMuteChanged:(
EMChatroom *)aChatroom
189 isAllMemberMuted:(BOOL)aMuted;
204- (void)chatroomAdminListDidUpdate:(
EMChatroom *)aChatroom
205 addedAdmin:(NSString *)aAdmin;
220- (void)chatroomAdminListDidUpdate:(
EMChatroom *)aChatroom
221 removedAdmin:(NSString *)aAdmin;
238- (void)chatroomOwnerDidUpdate:(
EMChatroom *)aChatroom
239 newOwner:(NSString *)aNewOwner
240 oldOwner:(NSString *)aOldOwner;
255- (void)chatroomAnnouncementDidUpdate:(
EMChatroom *)aChatroom
256 announcement:(NSString * _Nullable )aAnnouncement;
272- (void)chatroomAttributesDidUpdated:( NSString * _Nonnull )roomId attributeMap:(NSDictionary<NSString*,NSString*> * _Nonnull)attributeMap from:(NSString * _Nonnull)fromId;
288- (void)chatroomAttributesDidRemoved:( NSString * _Nonnull )roomId attributes:(NSArray<__kindof NSString*> * _Nonnull)attributes from:(NSString * _Nonnull)fromId;
290#pragma mark - Deprecated methods
305- (void)userDidJoinChatroom:(
EMChatroom *)aChatroom
306 user:(NSString *)aUsername __deprecated_msg("Use -userDidJoinChatroom:user:ext: instead");
323- (void)chatroomMuteListDidUpdate:(
EMChatroom *)aChatroom
324 addedMutedMembers:(NSArray<NSString *> *)aMutes
325 muteExpire:(NSInteger)aMuteExpire __deprecated_msg("Use -chatroomMuteListDidUpdate:addedMutedMembers: instead");;
Definition: EMChatroom.h:42
Definition: EMChatroomManagerDelegate.h:41