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;
126- (void)chatroomMuteListDidUpdate:(
EMChatroom *)aChatroom
127 addedMutedMembers:(NSArray<NSString *> *)aMutes
128 muteExpire:(NSInteger)aMuteExpire;
143- (void)chatroomMuteListDidUpdate:(
EMChatroom *)aChatroom
144 removedMutedMembers:(NSArray<NSString *> *)aMutes;
159- (void)chatroomWhiteListDidUpdate:(
EMChatroom *)aChatroom
160 addedWhiteListMembers:(NSArray<NSString *> *)aMembers;
175- (void)chatroomWhiteListDidUpdate:(
EMChatroom *)aChatroom
176 removedWhiteListMembers:(NSArray<NSString *> *)aMembers;
191- (void)chatroomAllMemberMuteChanged:(
EMChatroom *)aChatroom
192 isAllMemberMuted:(BOOL)aMuted;
207- (void)chatroomAdminListDidUpdate:(
EMChatroom *)aChatroom
208 addedAdmin:(NSString *)aAdmin;
223- (void)chatroomAdminListDidUpdate:(
EMChatroom *)aChatroom
224 removedAdmin:(NSString *)aAdmin;
241- (void)chatroomOwnerDidUpdate:(
EMChatroom *)aChatroom
242 newOwner:(NSString *)aNewOwner
243 oldOwner:(NSString *)aOldOwner;
258- (void)chatroomAnnouncementDidUpdate:(
EMChatroom *)aChatroom
259 announcement:(NSString * _Nullable )aAnnouncement;
275- (void)chatroomAttributesDidUpdated:( NSString * _Nonnull )roomId attributeMap:(NSDictionary<NSString*,NSString*> * _Nonnull)attributeMap from:(NSString * _Nonnull)fromId;
291- (void)chatroomAttributesDidRemoved:( NSString * _Nonnull )roomId attributes:(NSArray<__kindof NSString*> * _Nonnull)attributes from:(NSString * _Nonnull)fromId;
293#pragma mark - Deprecated methods
312- (void)didReceiveUserJoinedChatroom:(
EMChatroom *)aChatroom
313 username:(NSString *)aUsername __deprecated_msg("Use -userDidJoinChatroom:user: instead");
332- (void)didReceiveUserLeavedChatroom:(
EMChatroom *)aChatroom
333 username:(NSString *)aUsername __deprecated_msg("Use -userDidLeaveChatroom:reason: instead");
352- (void)didReceiveKickedFromChatroom:(
EMChatroom *)aChatroom
353 reason:(EMChatroomBeKickedReason)aReason __deprecated_msg("Use -didDismissFromChatroom:reason: instead");
368- (void)userDidJoinChatroom:(
EMChatroom *)aChatroom
369 user:(NSString *)aUsername __deprecated_msg("Use -userDidJoinChatroom:user:ext: instead");
Definition: EMChatroom.h:42
Definition: EMChatroomManagerDelegate.h:41