session-ios/SignalServiceKit/src/Devices/OWSLinkedDeviceReadReceipt.h
Matthew Chen ee13084d5c Respond to CR.
// FREEBIE
2017-09-27 14:05:21 -04:00

23 lines
813 B
Objective-C

//
// Copyright (c) 2017 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 timestamp;
- (instancetype)initWithSenderId:(NSString *)senderId timestamp:(uint64_t)timestamp;
+ (nullable OWSLinkedDeviceReadReceipt *)findLinkedDeviceReadReceiptWithSenderId:(NSString *)senderId
timestamp:(uint64_t)timestamp
transaction:
(YapDatabaseReadTransaction *)transaction;
@end
NS_ASSUME_NONNULL_END