9#import <Foundation/Foundation.h>
30NS_ASSUME_NONNULL_BEGIN
71typedef void (^
NIMFetchCommentsByMsgsHandler) (NSError * _Nullable error, NSMapTable<NIMMessage *, NSArray<NIMQuickComment *> * > * _Nullable result, NSArray<NIMMessage *> * _Nullable failedMessages);
81 NSArray<NIMCollectInfo *> * _Nullable collectInfos,
82 NSInteger totalCount);
184@protocol NIMChatExtendManagerDelegate <NSObject>
252@protocol NIMChatExtendManager <NSObject>
254#pragma mark - Thread Talk
267 error:(NSError * __nullable *)error;
294- (NSInteger)subMessagesCount:(
NIMMessage *)message;
314- (void)fetchSubMessagesFrom:(
NIMMessage *)message
358- (void)fetchQuickComments:(NSArray<
NIMMessage *> *)messages
367- (void)quickCommentsByMessage:(
NIMMessage *)message
493- (void)addDelegate:(
id<NIMChatExtendManagerDelegate>)delegate;
500- (void)removeDelegate:(
id<NIMChatExtendManagerDelegate>)delegate;
void(^ NIMUpdateStickTopSessionCompletion)(NSError *_Nullable error, NIMStickTopSessionInfo *_Nullable updatedInfo)
Definition: NIMChatExtendManagerProtocol.h:130
void(^ NIMSyncMessagePinCompletion)(NSError *_Nullable error, NIMSyncMessagePinResponse *_Nullable response)
Definition: NIMChatExtendManagerProtocol.h:166
void(^ NIMAddStickTopSessionCompletion)(NSError *_Nullable error, NIMStickTopSessionInfo *_Nullable newInfo)
Definition: NIMChatExtendManagerProtocol.h:114
void(^ NIMLoadRecentSessionsCompletion)(NSError *_Nullable error, NSArray< NIMRecentSession * > *_Nullable recentSessions)
Definition: NIMChatExtendManagerProtocol.h:179
void(^ NIMRemoveStickTopSessionCompletion)(NSError *_Nullable error, NIMStickTopSessionInfo *_Nullable removedInfo)
Definition: NIMChatExtendManagerProtocol.h:122
void(^ NIMLoadMessagePinsCompletion)(NSError *_Nullable error, NSArray< NIMMessagePinItem * > *_Nullable items)
Definition: NIMChatExtendManagerProtocol.h:173
void(^ NIMUpdateMessagePinCompletion)(NSError *_Nullable error, NIMMessagePinItem *_Nullable item)
Definition: NIMChatExtendManagerProtocol.h:159
void(^ NIMAddCollectBlock)(NSError *_Nullable error, NIMCollectInfo *_Nullable collectInfo)
Definition: NIMChatExtendManagerProtocol.h:90
void(^ NIMGetQuickCommentsByMsgHandler)(NSError *_Nullable error, NSMapTable< NSNumber *, NSArray< NIMQuickComment * > * > *_Nullable result)
Definition: NIMChatExtendManagerProtocol.h:61
void(^ NIMFetchCommentsByMsgsHandler)(NSError *_Nullable error, NSMapTable< NIMMessage *, NSArray< NIMQuickComment * > * > *_Nullable result, NSArray< NIMMessage * > *_Nullable failedMessages)
Definition: NIMChatExtendManagerProtocol.h:71
void(^ NIMFetchHistoryMessagesByIds)(NSError *_Nullable error, NSMapTable< NIMChatExtendBasicInfo *, NIMMessage * > *_Nullable result)
Definition: NIMChatExtendManagerProtocol.h:46
void(^ NIMRemoveCollectBlock)(NSError *_Nullable error, NSInteger total_removed)
Definition: NIMChatExtendManagerProtocol.h:98
void(^ NIMQuickCommentHandler)(NSError *_Nullable error)
Definition: NIMChatExtendManagerProtocol.h:53
void(^ NIMAddMessagePinCompletion)(NSError *_Nullable error, NIMMessagePinItem *_Nullable item)
Definition: NIMChatExtendManagerProtocol.h:145
void(^ NIMUpdateCollectBlock)(NSError *_Nullable error, NIMCollectInfo *_Nullable collectInfo)
Definition: NIMChatExtendManagerProtocol.h:106
NS_ASSUME_NONNULL_BEGIN typedef void(^ NIMThreadTalkFetchMessages)(NSError *_Nullable error, NIMThreadTalkFetchResult *_Nullable result)
void(^ NIMLoadStickTopSessionInfosCompletion)(NSError *_Nullable error, NSDictionary< NIMSession *, NIMStickTopSessionInfo * > *_Nullable infos)
Definition: NIMChatExtendManagerProtocol.h:138
void(^ NIMRemoveMessagePinCompletion)(NSError *_Nullable error, NIMMessagePinItem *_Nullable item)
Definition: NIMChatExtendManagerProtocol.h:152
void(^ NIMCollectQueryBlock)(NSError *_Nullable error, NSArray< NIMCollectInfo * > *_Nullable collectInfos, NSInteger totalCount)
Definition: NIMChatExtendManagerProtocol.h:80
void(^ NIMChatManagerBlock)(NSError *__nullable error)
Definition: NIMChatManagerProtocol.h:56
Definition: NIMAddCollectParams.h:14
Definition: NIMAddStickTopSessionParams.h:15
Definition: NIMChatExtendBasicInfo.h:20
Definition: NIMCollectInfo.h:14
Definition: NIMCollectQueryOptions.h:14
Definition: NIMLoadRecentSessionsOptions.h:14
Definition: NIMMessage.h:91
Definition: NIMMessagePinItem.h:17
Definition: NIMRecentSession.h:37
Definition: NIMSession.h:49
Definition: NIMStickTopSessionInfo.h:18
Definition: NIMSyncMessagePinRequest.h:15
Definition: NIMSyncMessagePinResponse.h:15
Definition: NIMSyncStickTopSessionResponse.h:15
Definition: NIMThreadTalkFetchOption.h:19
Definition: NIMThreadTalkFetchResult.h:19