mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
976 B
Objective-C
27 lines
976 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSYapDatabaseObject.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface OWSLinkedDeviceReadReceipt : TSYapDatabaseObject
|
|
|
|
@property (nonatomic, readonly) NSString *senderId;
|
|
@property (nonatomic, readonly) uint64_t messageIdTimestamp;
|
|
@property (nonatomic, readonly) uint64_t readTimestamp;
|
|
|
|
- (instancetype)initWithSenderId:(NSString *)senderId
|
|
messageIdTimestamp:(uint64_t)messageIdtimestamp
|
|
readTimestamp:(uint64_t)readTimestamp;
|
|
|
|
+ (nullable OWSLinkedDeviceReadReceipt *)findLinkedDeviceReadReceiptWithSenderId:(NSString *)senderId
|
|
messageIdTimestamp:(uint64_t)messageIdTimestamp
|
|
transaction:
|
|
(YapDatabaseReadTransaction *)transaction;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|