NIMSDK-iOS
载入中...
搜索中...
未找到
NIMThreadTalkFetchResult.h
浏览该文件的文档.
1//
2// NIMThreadTalkFetchResult.h
3// NIMLib
4//
5// Created by He on 2020/4/7.
6// Copyright © 2020 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11@class NIMMessage;
12
13NS_ASSUME_NONNULL_BEGIN
14
15/**
16 * 获取Thread Talk 接口
17 */
18@interface NIMThreadTalkFetchResult : NSObject
19
20/**
21 * 获取Thread message
22 */
23@property (nonatomic,strong) NIMMessage *message;
24/**
25 * 获取Thread 子消息
26 */
27@property (nonatomic,strong) NSArray *subMessages;
28/**
29 * 总共的消息数
30 */
31@property (nonatomic,assign) int64_t total;
32
33/**
34 * Thread聊天里最后一条消息的时间戳, 单位: 秒
35 */
36@property (nonatomic,assign) NSTimeInterval timestamp;
37
38@end
39
40NS_ASSUME_NONNULL_END
Definition: NIMMessage.h:90
Definition: NIMThreadTalkFetchResult.h:19
NSTimeInterval timestamp
Definition: NIMThreadTalkFetchResult.h:36
int64_t total
Definition: NIMThreadTalkFetchResult.h:31
NIMMessage * message
Definition: NIMThreadTalkFetchResult.h:23
NSArray * subMessages
Definition: NIMThreadTalkFetchResult.h:27