Path: blob/main/SignalServiceKit/Messages/OWSRecoverableDecryptionPlaceholder.h
1 views
//1// Copyright 2021 Signal Messenger, LLC2// SPDX-License-Identifier: AGPL-3.0-only3//45#import <SignalServiceKit/TSErrorMessage.h>67@class AciObjC;89NS_ASSUME_NONNULL_BEGIN1011@interface OWSRecoverableDecryptionPlaceholder : TSErrorMessage <OWSReadTracking>1213- (instancetype)initErrorMessageWithBuilder:(TSErrorMessageBuilder *)errorMessageBuilder NS_UNAVAILABLE;1415- (instancetype)initWithGrdbId:(int64_t)grdbId16uniqueId:(NSString *)uniqueId17receivedAtTimestamp:(uint64_t)receivedAtTimestamp18sortId:(uint64_t)sortId19timestamp:(uint64_t)timestamp20uniqueThreadId:(NSString *)uniqueThreadId21body:(nullable NSString *)body22bodyRanges:(nullable MessageBodyRanges *)bodyRanges23contactShare:(nullable OWSContact *)contactShare24deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds25editState:(TSEditState)editState26expireStartedAt:(uint64_t)expireStartedAt27expireTimerVersion:(nullable NSNumber *)expireTimerVersion28expiresAt:(uint64_t)expiresAt29expiresInSeconds:(unsigned int)expiresInSeconds30giftBadge:(nullable OWSGiftBadge *)giftBadge31isGroupStoryReply:(BOOL)isGroupStoryReply32isPoll:(BOOL)isPoll33isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup34isViewOnceComplete:(BOOL)isViewOnceComplete35isViewOnceMessage:(BOOL)isViewOnceMessage36linkPreview:(nullable OWSLinkPreview *)linkPreview37messageSticker:(nullable MessageSticker *)messageSticker38quotedMessage:(nullable TSQuotedMessage *)quotedMessage39storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer40storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString41storyReactionEmoji:(nullable NSString *)storyReactionEmoji42storyTimestamp:(nullable NSNumber *)storyTimestamp43wasRemotelyDeleted:(BOOL)wasRemotelyDeleted44errorType:(TSErrorMessageType)errorType45read:(BOOL)read46recipientAddress:(nullable SignalServiceAddress *)recipientAddress47sender:(nullable SignalServiceAddress *)sender48wasIdentityVerified:(BOOL)wasIdentityVerified NS_DESIGNATED_INITIALIZER;4950- (nullable instancetype)initWithFailedEnvelopeTimestamp:(uint64_t)timestamp51sourceAci:(AciObjC *)sourceAci52untrustedGroupId:(nullable NSData *)untrustedGroupId53transaction:(DBWriteTransaction *)writeTx NS_DESIGNATED_INITIALIZER;5455@property (assign, nonatomic, readonly) BOOL supportsReplacement;5657// --- CODE GENERATION MARKER5859// This snippet is generated by /Scripts/sds_codegen/sds_generate.py. Do not manually edit it, instead run60// `sds_codegen.sh`.616263// --- CODE GENERATION MARKER6465@end6667NS_ASSUME_NONNULL_END686970