32 lines
1.0 KiB
Objective-C
32 lines
1.0 KiB
Objective-C
//
|
|
// Copyright (c) 2020 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "OWSOutgoingSyncMessage.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class SignalServiceAddress;
|
|
|
|
@interface OWSViewOnceMessageReadSyncMessage : OWSOutgoingSyncMessage
|
|
|
|
@property (nonatomic, readonly) SignalServiceAddress *senderAddress;
|
|
@property (nonatomic, readonly) uint64_t messageIdTimestamp;
|
|
@property (nonatomic, readonly) uint64_t readTimestamp;
|
|
|
|
+ (instancetype)new NS_UNAVAILABLE;
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
- (instancetype)initWithThread:(TSThread *)thread NS_UNAVAILABLE;
|
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp thread:(TSThread *)thread NS_UNAVAILABLE;
|
|
|
|
- (instancetype)initWithThread:(TSThread *)thread
|
|
senderAddress:(SignalServiceAddress *)senderAddress
|
|
messageIdTimestamp:(uint64_t)messageIdtimestamp
|
|
readTimestamp:(uint64_t)readTimestamp NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|