Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
signalapp
GitHub Repository: signalapp/Signal-iOS
Path: blob/main/SignalServiceKit/Messages/InvalidKeyMessages/TSInvalidIdentityKeyReceivingErrorMessage.h
1 views
1
//
2
// Copyright 2018 Signal Messenger, LLC
3
// SPDX-License-Identifier: AGPL-3.0-only
4
//
5
6
#import <SignalServiceKit/TSInvalidIdentityKeyErrorMessage.h>
7
8
NS_ASSUME_NONNULL_BEGIN
9
10
@class SSKProtoEnvelope;
11
12
// We no longer create new instances of this class (as of mid-2017).
13
// However, existing instances may exist, so we should keep this class
14
// around to honor their old behavior.
15
/* DEPRECATED */ @interface TSInvalidIdentityKeyReceivingErrorMessage : TSInvalidIdentityKeyErrorMessage
16
17
- (instancetype)initWithGrdbId:(int64_t)grdbId
18
uniqueId:(NSString *)uniqueId
19
receivedAtTimestamp:(uint64_t)receivedAtTimestamp
20
sortId:(uint64_t)sortId
21
timestamp:(uint64_t)timestamp
22
uniqueThreadId:(NSString *)uniqueThreadId
23
body:(nullable NSString *)body
24
bodyRanges:(nullable MessageBodyRanges *)bodyRanges
25
contactShare:(nullable OWSContact *)contactShare
26
deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds
27
editState:(TSEditState)editState
28
expireStartedAt:(uint64_t)expireStartedAt
29
expireTimerVersion:(nullable NSNumber *)expireTimerVersion
30
expiresAt:(uint64_t)expiresAt
31
expiresInSeconds:(unsigned int)expiresInSeconds
32
giftBadge:(nullable OWSGiftBadge *)giftBadge
33
isGroupStoryReply:(BOOL)isGroupStoryReply
34
isPoll:(BOOL)isPoll
35
isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup
36
isViewOnceComplete:(BOOL)isViewOnceComplete
37
isViewOnceMessage:(BOOL)isViewOnceMessage
38
linkPreview:(nullable OWSLinkPreview *)linkPreview
39
messageSticker:(nullable MessageSticker *)messageSticker
40
quotedMessage:(nullable TSQuotedMessage *)quotedMessage
41
storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer
42
storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString
43
storyReactionEmoji:(nullable NSString *)storyReactionEmoji
44
storyTimestamp:(nullable NSNumber *)storyTimestamp
45
wasRemotelyDeleted:(BOOL)wasRemotelyDeleted
46
errorType:(TSErrorMessageType)errorType
47
read:(BOOL)read
48
recipientAddress:(nullable SignalServiceAddress *)recipientAddress
49
sender:(nullable SignalServiceAddress *)sender
50
wasIdentityVerified:(BOOL)wasIdentityVerified NS_UNAVAILABLE;
51
52
// --- CODE GENERATION MARKER
53
54
// This snippet is generated by /Scripts/sds_codegen/sds_generate.py. Do not manually edit it, instead run
55
// `sds_codegen.sh`.
56
57
// clang-format off
58
59
- (instancetype)initWithGrdbId:(int64_t)grdbId
60
uniqueId:(NSString *)uniqueId
61
receivedAtTimestamp:(uint64_t)receivedAtTimestamp
62
sortId:(uint64_t)sortId
63
timestamp:(uint64_t)timestamp
64
uniqueThreadId:(NSString *)uniqueThreadId
65
body:(nullable NSString *)body
66
bodyRanges:(nullable MessageBodyRanges *)bodyRanges
67
contactShare:(nullable OWSContact *)contactShare
68
deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds
69
editState:(TSEditState)editState
70
expireStartedAt:(uint64_t)expireStartedAt
71
expireTimerVersion:(nullable NSNumber *)expireTimerVersion
72
expiresAt:(uint64_t)expiresAt
73
expiresInSeconds:(unsigned int)expiresInSeconds
74
giftBadge:(nullable OWSGiftBadge *)giftBadge
75
isGroupStoryReply:(BOOL)isGroupStoryReply
76
isPoll:(BOOL)isPoll
77
isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup
78
isViewOnceComplete:(BOOL)isViewOnceComplete
79
isViewOnceMessage:(BOOL)isViewOnceMessage
80
linkPreview:(nullable OWSLinkPreview *)linkPreview
81
messageSticker:(nullable MessageSticker *)messageSticker
82
quotedMessage:(nullable TSQuotedMessage *)quotedMessage
83
storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer
84
storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString
85
storyReactionEmoji:(nullable NSString *)storyReactionEmoji
86
storyTimestamp:(nullable NSNumber *)storyTimestamp
87
wasRemotelyDeleted:(BOOL)wasRemotelyDeleted
88
errorType:(TSErrorMessageType)errorType
89
read:(BOOL)read
90
recipientAddress:(nullable SignalServiceAddress *)recipientAddress
91
sender:(nullable SignalServiceAddress *)sender
92
wasIdentityVerified:(BOOL)wasIdentityVerified
93
authorId:(NSString *)authorId
94
envelopeData:(nullable NSData *)envelopeData
95
NS_DESIGNATED_INITIALIZER NS_SWIFT_NAME(init(grdbId:uniqueId:receivedAtTimestamp:sortId:timestamp:uniqueThreadId:body:bodyRanges:contactShare:deprecated_attachmentIds:editState:expireStartedAt:expireTimerVersion:expiresAt:expiresInSeconds:giftBadge:isGroupStoryReply:isPoll:isSmsMessageRestoredFromBackup:isViewOnceComplete:isViewOnceMessage:linkPreview:messageSticker:quotedMessage:storedShouldStartExpireTimer:storyAuthorUuidString:storyReactionEmoji:storyTimestamp:wasRemotelyDeleted:errorType:read:recipientAddress:sender:wasIdentityVerified:authorId:envelopeData:));
96
97
// clang-format on
98
99
// --- CODE GENERATION MARKER
100
101
@end
102
103
NS_ASSUME_NONNULL_END
104
105