NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatMessageQuickCommentInfo.h
浏览该文件的文档.
1//
2// NIMQChatMessageQuickCommentInfo.h
3// NIMLib
4//
5// Created by Evang on 2022/3/18.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
13/**
14 * 查询消息附带的评论的结果
15 */
16@interface NIMQChatMessageQuickCommentInfo : NSObject <NSCopying>
17
18/**
19 * 服务器id
20 */
21@property (nonatomic, assign) unsigned long long serverId;
22
23/**
24 * 频道id
25 */
26@property (nonatomic, assign) unsigned long long channelId;
27
28/**
29 * 消息服务器id
30 */
31@property (nonatomic, copy) NSString *msgServerId;
32
33/**
34 * 评论条数
35 */
36@property (nonatomic, assign) NSInteger count;
37
38/**
39 * 最后一次操作评论的时间
40 */
41@property (nonatomic, assign) NSTimeInterval updateTime;
42
43/**
44 * 各评论详情
45 */
46@property (nonatomic, copy, readonly) NSArray <NIMQChatMessageQuickCommentsDetail *> *commentArray;
47
48@end
49
50
51/**
52 * 查询消息附带的评论的结果中,单个评论详情
53 */
54@interface NIMQChatMessageQuickCommentsDetail : NSObject <NSCopying>
55
56/**
57 * 消息评论类型type
58 */
59@property (nonatomic, assign) NSInteger replyType;
60
61/**
62 * 评论次数
63 */
64@property (nonatomic, assign) NSInteger count;
65
66/**
67 * 自己是否添加过
68 */
69@property (nonatomic, assign) BOOL selfReplyed;
70
71/**
72 * 添加过的评论几位用户accid(注意:不是按照操作时间排序的,可以认为是随机取了N个)
73 */
74@property (nonatomic, copy, readonly) NSArray <NSString *> *replyAccIds;
75
76/**
77 * 创建时间
78 */
79@property (nonatomic, assign) NSTimeInterval createTime;
80
81@end
82
83NS_ASSUME_NONNULL_END
Definition: NIMQChatMessageQuickCommentInfo.h:16
NSArray< NIMQChatMessageQuickCommentsDetail * > * commentArray
Definition: NIMQChatMessageQuickCommentInfo.h:46
unsigned long long serverId
Definition: NIMQChatMessageQuickCommentInfo.h:21
NSInteger count
Definition: NIMQChatMessageQuickCommentInfo.h:36
unsigned long long channelId
Definition: NIMQChatMessageQuickCommentInfo.h:26
NSString * msgServerId
Definition: NIMQChatMessageQuickCommentInfo.h:31
NSTimeInterval updateTime
Definition: NIMQChatMessageQuickCommentInfo.h:41
Definition: NIMQChatMessageQuickCommentInfo.h:54