NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatMessageManagerProtocol.h 文件参考
#import <Foundation/Foundation.h>
#import "NIMQChatDefs.h"

浏览源代码.

protocol  <NIMQChatMessageManagerDelegate>
 
protocol  <NIMQChatMessageManager>
 

类型定义

typedef void(^ NIMQChatSendSystemNotificationHandler) (NSError *__nullable error, NIMQChatSendSystemNotificationResult *__nullable result)
 
typedef void(^ NIMQChatGetMessageHistoryHandler) (NSError *__nullable error, NIMQChatGetMessageHistoryResult *__nullable result)
 
typedef void(^ NIMQChatUpdateMessageHandler) (NSError *__nullable error, NIMQChatUpdateMessageResult *__nullable result)
 
typedef void(^ NIMQChatUpdateSystemNotificationHandler) (NSError *__nullable error, NIMQChatUpdateSystemNotificationResult *__nullable result)
 
typedef void(^ NIMQChatGetMessageCacheHandler) (NSError *__nullable error, NIMQChatGetMessageCacheResult *__nullable result)
 
typedef void(^ NIMQChatSendMessageTypingEventHandler) (NSError *__nullable error, NIMQChatMessageTypingEvent *__nullable result)
 
typedef void(^ NIMQChatGetLastMessageOfChannelsHandler) (NSError *__nullable error, NIMQChatGetLastMessageOfChannelsResult *__nullable result)
 
typedef void(^ NIMQChatSearchMsgByPageHandler) (NSError *__nullable error, NIMQChatSearchMsgByPageResult *__nullable result)
 
typedef void(^ NIMQChatGetMentionedMeMessagesHandler) (NSError *__nullable error, NIMQChatGetMentionedMeMessagesResult *__nullable result)
 
typedef void(^ NIMQChatAreMentionedMeMessagesHandler) (NSError *__nullable error, NIMQChatAreMentionedMeMessagesResult *__nullable result)
 

类型定义说明

◆ NIMQChatAreMentionedMeMessagesHandler

typedef void(^ NIMQChatAreMentionedMeMessagesHandler) (NSError *__nullable error, NIMQChatAreMentionedMeMessagesResult *__nullable result)

批量查询消息是否 @ 当前用户的回调

参数
error错误信息
result回调结果

◆ NIMQChatGetLastMessageOfChannelsHandler

typedef void(^ NIMQChatGetLastMessageOfChannelsHandler) (NSError *__nullable error, NIMQChatGetLastMessageOfChannelsResult *__nullable result)

批量查询频道最后一条消息的回调

参数
error错误信息
result回调结果

◆ NIMQChatGetMentionedMeMessagesHandler

typedef void(^ NIMQChatGetMentionedMeMessagesHandler) (NSError *__nullable error, NIMQChatGetMentionedMeMessagesResult *__nullable result)

分页搜索圈组 @ 我的消息的回调

参数
error错误信息
result回调结果

◆ NIMQChatGetMessageCacheHandler

typedef void(^ NIMQChatGetMessageCacheHandler) (NSError *__nullable error, NIMQChatGetMessageCacheResult *__nullable result)

拉取缓存消息的回调

参数
error错误信息
result回调结果

◆ NIMQChatGetMessageHistoryHandler

typedef void(^ NIMQChatGetMessageHistoryHandler) (NSError *__nullable error, NIMQChatGetMessageHistoryResult *__nullable result)

拉取聊天消息的回调

参数
error错误信息
result回调结果

◆ NIMQChatSearchMsgByPageHandler

typedef void(^ NIMQChatSearchMsgByPageHandler) (NSError *__nullable error, NIMQChatSearchMsgByPageResult *__nullable result)

分页搜索圈组消息的回调

参数
error错误信息
result回调结果

◆ NIMQChatSendMessageTypingEventHandler

typedef void(^ NIMQChatSendMessageTypingEventHandler) (NSError *__nullable error, NIMQChatMessageTypingEvent *__nullable result)

发送消息正在输入事件的回调

参数
error错误信息
result回调结果

◆ NIMQChatSendSystemNotificationHandler

typedef void(^ NIMQChatSendSystemNotificationHandler) (NSError *__nullable error, NIMQChatSendSystemNotificationResult *__nullable result)

发送自定义通知消息的回调

参数
error错误信息
result回调结果

◆ NIMQChatUpdateMessageHandler

typedef void(^ NIMQChatUpdateMessageHandler) (NSError *__nullable error, NIMQChatUpdateMessageResult *__nullable result)

更新圈组消息的回调

参数
error错误信息
result回调结果

◆ NIMQChatUpdateSystemNotificationHandler

typedef void(^ NIMQChatUpdateSystemNotificationHandler) (NSError *__nullable error, NIMQChatUpdateSystemNotificationResult *__nullable result)

更新系统通知的回调

参数
error错误信息
result回调结果