|
|
@ -31,7 +31,7 @@ typedef NS_ENUM(NSInteger, TSGroupMetaMessage) {
|
|
|
|
@property (nonatomic, readonly) BOOL isExpiringMessage;
|
|
|
|
@property (nonatomic, readonly) BOOL isExpiringMessage;
|
|
|
|
@property (nonatomic, readonly) BOOL shouldStartExpireTimer;
|
|
|
|
@property (nonatomic, readonly) BOOL shouldStartExpireTimer;
|
|
|
|
// _DO NOT_ access this property directly. You almost certainly
|
|
|
|
// _DO NOT_ access this property directly. You almost certainly
|
|
|
|
// want to use bestReceivedAtDate instead.
|
|
|
|
// want to use receiptDateForSorting instead.
|
|
|
|
@property (nonatomic, readonly) NSDate *receivedAtDate;
|
|
|
|
@property (nonatomic, readonly) NSDate *receivedAtDate;
|
|
|
|
|
|
|
|
|
|
|
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp;
|
|
|
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp;
|
|
|
@ -64,11 +64,6 @@ typedef NS_ENUM(NSInteger, TSGroupMetaMessage) {
|
|
|
|
|
|
|
|
|
|
|
|
- (BOOL)hasAttachments;
|
|
|
|
- (BOOL)hasAttachments;
|
|
|
|
|
|
|
|
|
|
|
|
// This message should return TSMessage.receivedAtDate for most messages.
|
|
|
|
|
|
|
|
// For messages received before TSMessage.receivedAtDate was added, this
|
|
|
|
|
|
|
|
// will try to return TSIncomingMessage.receivedAt.
|
|
|
|
|
|
|
|
- (nullable NSDate *)bestReceivedAtDate;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|