Path: blob/main/SignalServiceKit/Messages/InvalidKeyMessages/TSInvalidIdentityKeySendingErrorMessage.h
1 views
//1// Copyright 2018 Signal Messenger, LLC2// SPDX-License-Identifier: AGPL-3.0-only3//45#import <SignalServiceKit/TSInvalidIdentityKeyErrorMessage.h>67NS_ASSUME_NONNULL_BEGIN89@class TSOutgoingMessage;10@class TSThread;1112/// We no longer create new instances of this class (as of mid-2017).13/// However, existing instances may exist, so we should keep this class14/// around to honor their old behavior.15@interface /* DEPRECATED */ TSInvalidIdentityKeySendingErrorMessage : TSInvalidIdentityKeyErrorMessage1617@property (nonatomic, readonly) NSString *messageId;1819- (instancetype)initWithGrdbId:(int64_t)grdbId20uniqueId:(NSString *)uniqueId21receivedAtTimestamp:(uint64_t)receivedAtTimestamp22sortId:(uint64_t)sortId23timestamp:(uint64_t)timestamp24uniqueThreadId:(NSString *)uniqueThreadId25body:(nullable NSString *)body26bodyRanges:(nullable MessageBodyRanges *)bodyRanges27contactShare:(nullable OWSContact *)contactShare28deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds29editState:(TSEditState)editState30expireStartedAt:(uint64_t)expireStartedAt31expireTimerVersion:(nullable NSNumber *)expireTimerVersion32expiresAt:(uint64_t)expiresAt33expiresInSeconds:(unsigned int)expiresInSeconds34giftBadge:(nullable OWSGiftBadge *)giftBadge35isGroupStoryReply:(BOOL)isGroupStoryReply36isPoll:(BOOL)isPoll37isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup38isViewOnceComplete:(BOOL)isViewOnceComplete39isViewOnceMessage:(BOOL)isViewOnceMessage40linkPreview:(nullable OWSLinkPreview *)linkPreview41messageSticker:(nullable MessageSticker *)messageSticker42quotedMessage:(nullable TSQuotedMessage *)quotedMessage43storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer44storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString45storyReactionEmoji:(nullable NSString *)storyReactionEmoji46storyTimestamp:(nullable NSNumber *)storyTimestamp47wasRemotelyDeleted:(BOOL)wasRemotelyDeleted48errorType:(TSErrorMessageType)errorType49read:(BOOL)read50recipientAddress:(nullable SignalServiceAddress *)recipientAddress51sender:(nullable SignalServiceAddress *)sender52wasIdentityVerified:(BOOL)wasIdentityVerified NS_UNAVAILABLE;5354// --- CODE GENERATION MARKER5556// This snippet is generated by /Scripts/sds_codegen/sds_generate.py. Do not manually edit it, instead run57// `sds_codegen.sh`.5859// clang-format off6061- (instancetype)initWithGrdbId:(int64_t)grdbId62uniqueId:(NSString *)uniqueId63receivedAtTimestamp:(uint64_t)receivedAtTimestamp64sortId:(uint64_t)sortId65timestamp:(uint64_t)timestamp66uniqueThreadId:(NSString *)uniqueThreadId67body:(nullable NSString *)body68bodyRanges:(nullable MessageBodyRanges *)bodyRanges69contactShare:(nullable OWSContact *)contactShare70deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds71editState:(TSEditState)editState72expireStartedAt:(uint64_t)expireStartedAt73expireTimerVersion:(nullable NSNumber *)expireTimerVersion74expiresAt:(uint64_t)expiresAt75expiresInSeconds:(unsigned int)expiresInSeconds76giftBadge:(nullable OWSGiftBadge *)giftBadge77isGroupStoryReply:(BOOL)isGroupStoryReply78isPoll:(BOOL)isPoll79isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup80isViewOnceComplete:(BOOL)isViewOnceComplete81isViewOnceMessage:(BOOL)isViewOnceMessage82linkPreview:(nullable OWSLinkPreview *)linkPreview83messageSticker:(nullable MessageSticker *)messageSticker84quotedMessage:(nullable TSQuotedMessage *)quotedMessage85storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer86storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString87storyReactionEmoji:(nullable NSString *)storyReactionEmoji88storyTimestamp:(nullable NSNumber *)storyTimestamp89wasRemotelyDeleted:(BOOL)wasRemotelyDeleted90errorType:(TSErrorMessageType)errorType91read:(BOOL)read92recipientAddress:(nullable SignalServiceAddress *)recipientAddress93sender:(nullable SignalServiceAddress *)sender94wasIdentityVerified:(BOOL)wasIdentityVerified95messageId:(NSString *)messageId96preKeyBundle:(NSData *)preKeyBundle97NS_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:messageId:preKeyBundle:));9899// clang-format on100101// --- CODE GENERATION MARKER102103@end104105NS_ASSUME_NONNULL_END106107108