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