9#import <Foundation/Foundation.h>
11NS_ASSUME_NONNULL_BEGIN
182@protocol NIMChatroomManagerDelegate <NSObject>
207- (void)chatroom:(NSString *)roomId autoLoginFailed:(NSError *)error;
220@protocol NIMChatroomManager <NSObject>
237- (void)exitChatroom:(NSString *)roomId
246- (NSInteger)chatroomAuthMode:(NSString *)roomId;
255- (void)fetchMessageHistory:(NSString *)roomId
275- (void)fetchChatroomInfo:(NSString *)roomId
402 duration:(
unsigned long long)duration
451- (void)fetchChatroomQueue:(NSString *)roomId
461- (void)dropChatroomQueue:(NSString *)roomId
480- (void)addDelegate:(
id<NIMChatroomManagerDelegate>)delegate;
487- (void)removeDelegate:(
id<NIMChatroomManagerDelegate>)delegate;
void(^ NIMChatroomMembersHandler)(NSError *__nullable error, NSArray< NIMChatroomMember * > *__nullable members)
Definition: NIMChatroomManagerProtocol.h:75
NSString *(^ NIMProvideChatroomDynamicTokenHandler)(NSString *__nullable roomId, NSString *__nullable account)
Definition: NIMChatroomManagerProtocol.h:129
void(^ NIMChatroomInfoHandler)(NSError *__nullable error, NIMChatroom *__nullable chatroom)
Definition: NIMChatroomManagerProtocol.h:68
void(^ NIMChatroomMemberHandler)(NSError *__nullable error, NIMChatroomMember *__nullable member)
Definition: NIMChatroomManagerProtocol.h:50
void(^ NIMFetchChatroomHistoryBlock)(NSError *__nullable error, NSArray< NIMMessage * > *__nullable messages)
Definition: NIMChatroomManagerProtocol.h:115
NIMChatroomKickReason
Definition: NIMChatroomManagerProtocol.h:158
@ NIMChatroomKickReasonByConflictLogin
Definition: NIMChatroomManagerProtocol.h:170
@ NIMChatroomKickReasonBlacklist
Definition: NIMChatroomManagerProtocol.h:174
@ NIMChatroomKickReasonByManager
Definition: NIMChatroomManagerProtocol.h:166
@ NIMChatroomKickReasonInvalidRoom
Definition: NIMChatroomManagerProtocol.h:162
void(^ NIMChatroomHandler)(NSError *__nullable error)
Definition: NIMChatroomManagerProtocol.h:42
void(^ NIMChatroomEnterHandler)(NSError *__nullable error, NIMChatroom *__nullable chatroom, NIMChatroomMember *__nullable me)
Definition: NIMChatroomManagerProtocol.h:59
void(^ NIMChatroomQueueRemoveHandler)(NSError *__nullable error, NSDictionary< NSString *, NSString * > *__nullable element)
Definition: NIMChatroomManagerProtocol.h:97
void(^ NIMChatroomQueueInfoHandler)(NSError *__nullable error, NSArray< NSDictionary< NSString *, NSString * > * > *__nullable info)
Definition: NIMChatroomManagerProtocol.h:89
void(^ NIMGetMessagesByTagsHandler)(NSError *__nullable error, NSArray< NIMMessage * > *__nullable messages)
Definition: NIMChatroomManagerProtocol.h:124
NIMChatroomConnectionState
Definition: NIMChatroomManagerProtocol.h:136
@ NIMChatroomConnectionStateEnterOK
Definition: NIMChatroomManagerProtocol.h:144
@ NIMChatroomConnectionStateLoseConnection
Definition: NIMChatroomManagerProtocol.h:152
@ NIMChatroomConnectionStateEntering
Definition: NIMChatroomManagerProtocol.h:140
@ NIMChatroomConnectionStateEnterFailed
Definition: NIMChatroomManagerProtocol.h:148
void(^ NIMChatroomMembersCountHandler)(NSError *__nullable error, uint64_t count)
Definition: NIMChatroomManagerProtocol.h:82
void(^ NIMChatroomQueueBatchUpdateHandler)(NSError *__nullable error, NSArray< NSString * > *__nullable elements)
Definition: NIMChatroomManagerProtocol.h:106
Definition: NIMChatroomBeKickedResult.h:16
Definition: NIMChatroomEnterRequest.h:91
Definition: NIMChatroomTagRequest.h:53
Definition: NIMChatroom.h:32
Definition: NIMChatroomTagRequest.h:96
Definition: NIMChatroomMember.h:47
Definition: NIMChatroomMemberRequest.h:143
Definition: NIMChatroomMemberRequest.h:181
Definition: NIMChatroomMemberRequest.h:61
Definition: NIMChatroomMemberRequest.h:114
Definition: NIMChatroomMemberRequest.h:92
Definition: NIMChatroomTagRequest.h:82
Definition: NIMChatroomQueueRequest.h:71
Definition: NIMChatroomQueueRequest.h:51
Definition: NIMChatroomQueueRequest.h:16
Definition: NIMChatroomTagRequest.h:14
Definition: NIMChatroomUpdateRequest.h:46
Definition: NIMMessageSearchOption.h:111
Definition: NIMMessage.h:91