NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatUnreadInfo.h
浏览该文件的文档.
1//
2// NIMQChatUnreadInfo.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13/**
14 * 圈组未读信息
15 */
16@interface NIMQChatUnreadInfo : NSObject
17
18/**
19 * 频道ID
20 */
21@property(nonatomic, assign, readonly) unsigned long long channelId;
22
23/**
24 * 服务器ID
25 */
26@property(nonatomic, assign, readonly) unsigned long long serverId;
27
28/**
29 * 未读数
30 */
31@property(nonatomic, assign, readonly) NSUInteger unreadCount;
32
33/**
34 * @的未读数
35 */
36@property(nonatomic, assign, readonly) NSUInteger mentionedCount;
37
38/**
39 * 最大未读数
40 */
41@property(nonatomic, assign, readonly) NSUInteger maxCount;
42
43/**
44 * 已读时间戳
45 */
46@property(nonatomic, assign, readonly) NSTimeInterval ackTimestamp;
47
48/**
49 * 最新消息时间戳
50 */
51@property(nonatomic, assign, readonly) NSTimeInterval lastMessageTimestamp;
52
53/**
54 * 数据时间戳
55 */
56@property(nonatomic, assign, readonly) NSTimeInterval timestamp;
57
58
59@end
60
61NS_ASSUME_NONNULL_END
Definition: NIMQChatUnreadInfo.h:17
unsigned long long channelId
Definition: NIMQChatUnreadInfo.h:21
unsigned long long serverId
Definition: NIMQChatUnreadInfo.h:26
NSTimeInterval timestamp
Definition: NIMQChatUnreadInfo.h:56
NSUInteger maxCount
Definition: NIMQChatUnreadInfo.h:41
NSTimeInterval ackTimestamp
Definition: NIMQChatUnreadInfo.h:46
NSTimeInterval lastMessageTimestamp
Definition: NIMQChatUnreadInfo.h:51
NSUInteger mentionedCount
Definition: NIMQChatUnreadInfo.h:36
NSUInteger unreadCount
Definition: NIMQChatUnreadInfo.h:31