NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatGetMessageCacheResult.h
浏览该文件的文档.
1//
2// NIMQChatGetMessageCacheResult.h
3// NIMSDK
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8#import <Foundation/Foundation.h>
9
10@class NIMQChatMessage;
12
13NS_ASSUME_NONNULL_BEGIN
14
15/**
16 * 拉取聊天消息的回调类型
17 */
18@interface NIMQChatGetMessageCacheResult : NSObject
19/**
20 * 查询结果
21 */
22@property (nullable, nonatomic, copy) NSArray<NIMQChatMessage *> *messages;
23
24/**
25 * 查询结果引用到的消息
26 * @discussion key为消息的messageId。根据返回的消息的replyRefer或threadRefer中的messageId查询
27 */
28@property (nullable, nonatomic, copy) NSDictionary<NSString *, NIMQChatMessage *> *messagesRefered;
29
30/**
31 * 查询结果的快捷评论
32 * @discussion key为消息的serverID
33 */
34@property (nullable, nonatomic, copy) NSDictionary<NSString *, NIMQChatMessageQuickCommentInfo *> *comments;
35
36@end
37
38NS_ASSUME_NONNULL_END
Definition: NIMQChatGetMessageCacheResult.h:19
NSDictionary< NSString *, NIMQChatMessage * > * messagesRefered
Definition: NIMQChatGetMessageCacheResult.h:28
NSArray< NIMQChatMessage * > * messages
Definition: NIMQChatGetMessageCacheResult.h:22
NSDictionary< NSString *, NIMQChatMessageQuickCommentInfo * > * comments
Definition: NIMQChatGetMessageCacheResult.h:34
Definition: NIMQChatMessage.h:55
Definition: NIMQChatMessageQuickCommentInfo.h:16