Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
signalapp
GitHub Repository: signalapp/Signal-iOS
Path: blob/main/SignalServiceKit/Messages/OWSRecoverableDecryptionPlaceholder.h
1 views
1
//
2
// Copyright 2021 Signal Messenger, LLC
3
// SPDX-License-Identifier: AGPL-3.0-only
4
//
5
6
#import <SignalServiceKit/TSErrorMessage.h>
7
8
@class AciObjC;
9
10
NS_ASSUME_NONNULL_BEGIN
11
12
@interface OWSRecoverableDecryptionPlaceholder : TSErrorMessage <OWSReadTracking>
13
14
- (instancetype)initErrorMessageWithBuilder:(TSErrorMessageBuilder *)errorMessageBuilder NS_UNAVAILABLE;
15
16
- (instancetype)initWithGrdbId:(int64_t)grdbId
17
uniqueId:(NSString *)uniqueId
18
receivedAtTimestamp:(uint64_t)receivedAtTimestamp
19
sortId:(uint64_t)sortId
20
timestamp:(uint64_t)timestamp
21
uniqueThreadId:(NSString *)uniqueThreadId
22
body:(nullable NSString *)body
23
bodyRanges:(nullable MessageBodyRanges *)bodyRanges
24
contactShare:(nullable OWSContact *)contactShare
25
deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds
26
editState:(TSEditState)editState
27
expireStartedAt:(uint64_t)expireStartedAt
28
expireTimerVersion:(nullable NSNumber *)expireTimerVersion
29
expiresAt:(uint64_t)expiresAt
30
expiresInSeconds:(unsigned int)expiresInSeconds
31
giftBadge:(nullable OWSGiftBadge *)giftBadge
32
isGroupStoryReply:(BOOL)isGroupStoryReply
33
isPoll:(BOOL)isPoll
34
isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup
35
isViewOnceComplete:(BOOL)isViewOnceComplete
36
isViewOnceMessage:(BOOL)isViewOnceMessage
37
linkPreview:(nullable OWSLinkPreview *)linkPreview
38
messageSticker:(nullable MessageSticker *)messageSticker
39
quotedMessage:(nullable TSQuotedMessage *)quotedMessage
40
storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer
41
storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString
42
storyReactionEmoji:(nullable NSString *)storyReactionEmoji
43
storyTimestamp:(nullable NSNumber *)storyTimestamp
44
wasRemotelyDeleted:(BOOL)wasRemotelyDeleted
45
errorType:(TSErrorMessageType)errorType
46
read:(BOOL)read
47
recipientAddress:(nullable SignalServiceAddress *)recipientAddress
48
sender:(nullable SignalServiceAddress *)sender
49
wasIdentityVerified:(BOOL)wasIdentityVerified NS_DESIGNATED_INITIALIZER;
50
51
- (nullable instancetype)initWithFailedEnvelopeTimestamp:(uint64_t)timestamp
52
sourceAci:(AciObjC *)sourceAci
53
untrustedGroupId:(nullable NSData *)untrustedGroupId
54
transaction:(DBWriteTransaction *)writeTx NS_DESIGNATED_INITIALIZER;
55
56
@property (assign, nonatomic, readonly) BOOL supportsReplacement;
57
58
// --- CODE GENERATION MARKER
59
60
// This snippet is generated by /Scripts/sds_codegen/sds_generate.py. Do not manually edit it, instead run
61
// `sds_codegen.sh`.
62
63
64
// --- CODE GENERATION MARKER
65
66
@end
67
68
NS_ASSUME_NONNULL_END
69
70