Path: blob/main/SignalServiceKit/Messages/InvalidKeyMessages/TSInvalidIdentityKeyReceivingErrorMessage.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 SSKProtoEnvelope;1011// We no longer create new instances of this class (as of mid-2017).12// However, existing instances may exist, so we should keep this class13// around to honor their old behavior.14/* DEPRECATED */ @interface TSInvalidIdentityKeyReceivingErrorMessage : TSInvalidIdentityKeyErrorMessage1516- (instancetype)initWithGrdbId:(int64_t)grdbId17uniqueId:(NSString *)uniqueId18receivedAtTimestamp:(uint64_t)receivedAtTimestamp19sortId:(uint64_t)sortId20timestamp:(uint64_t)timestamp21uniqueThreadId:(NSString *)uniqueThreadId22body:(nullable NSString *)body23bodyRanges:(nullable MessageBodyRanges *)bodyRanges24contactShare:(nullable OWSContact *)contactShare25deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds26editState:(TSEditState)editState27expireStartedAt:(uint64_t)expireStartedAt28expireTimerVersion:(nullable NSNumber *)expireTimerVersion29expiresAt:(uint64_t)expiresAt30expiresInSeconds:(unsigned int)expiresInSeconds31giftBadge:(nullable OWSGiftBadge *)giftBadge32isGroupStoryReply:(BOOL)isGroupStoryReply33isPoll:(BOOL)isPoll34isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup35isViewOnceComplete:(BOOL)isViewOnceComplete36isViewOnceMessage:(BOOL)isViewOnceMessage37linkPreview:(nullable OWSLinkPreview *)linkPreview38messageSticker:(nullable MessageSticker *)messageSticker39quotedMessage:(nullable TSQuotedMessage *)quotedMessage40storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer41storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString42storyReactionEmoji:(nullable NSString *)storyReactionEmoji43storyTimestamp:(nullable NSNumber *)storyTimestamp44wasRemotelyDeleted:(BOOL)wasRemotelyDeleted45errorType:(TSErrorMessageType)errorType46read:(BOOL)read47recipientAddress:(nullable SignalServiceAddress *)recipientAddress48sender:(nullable SignalServiceAddress *)sender49wasIdentityVerified:(BOOL)wasIdentityVerified NS_UNAVAILABLE;5051// --- CODE GENERATION MARKER5253// This snippet is generated by /Scripts/sds_codegen/sds_generate.py. Do not manually edit it, instead run54// `sds_codegen.sh`.5556// clang-format off5758- (instancetype)initWithGrdbId:(int64_t)grdbId59uniqueId:(NSString *)uniqueId60receivedAtTimestamp:(uint64_t)receivedAtTimestamp61sortId:(uint64_t)sortId62timestamp:(uint64_t)timestamp63uniqueThreadId:(NSString *)uniqueThreadId64body:(nullable NSString *)body65bodyRanges:(nullable MessageBodyRanges *)bodyRanges66contactShare:(nullable OWSContact *)contactShare67deprecated_attachmentIds:(nullable NSArray<NSString *> *)deprecated_attachmentIds68editState:(TSEditState)editState69expireStartedAt:(uint64_t)expireStartedAt70expireTimerVersion:(nullable NSNumber *)expireTimerVersion71expiresAt:(uint64_t)expiresAt72expiresInSeconds:(unsigned int)expiresInSeconds73giftBadge:(nullable OWSGiftBadge *)giftBadge74isGroupStoryReply:(BOOL)isGroupStoryReply75isPoll:(BOOL)isPoll76isSmsMessageRestoredFromBackup:(BOOL)isSmsMessageRestoredFromBackup77isViewOnceComplete:(BOOL)isViewOnceComplete78isViewOnceMessage:(BOOL)isViewOnceMessage79linkPreview:(nullable OWSLinkPreview *)linkPreview80messageSticker:(nullable MessageSticker *)messageSticker81quotedMessage:(nullable TSQuotedMessage *)quotedMessage82storedShouldStartExpireTimer:(BOOL)storedShouldStartExpireTimer83storyAuthorUuidString:(nullable NSString *)storyAuthorUuidString84storyReactionEmoji:(nullable NSString *)storyReactionEmoji85storyTimestamp:(nullable NSNumber *)storyTimestamp86wasRemotelyDeleted:(BOOL)wasRemotelyDeleted87errorType:(TSErrorMessageType)errorType88read:(BOOL)read89recipientAddress:(nullable SignalServiceAddress *)recipientAddress90sender:(nullable SignalServiceAddress *)sender91wasIdentityVerified:(BOOL)wasIdentityVerified92authorId:(NSString *)authorId93envelopeData:(nullable NSData *)envelopeData94NS_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:));9596// clang-format on9798// --- CODE GENERATION MARKER99100@end101102NS_ASSUME_NONNULL_END103104105