36 lines
1.5 KiB
Objective-C
36 lines
1.5 KiB
Objective-C
//
|
|
// Copyright 2018 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
//
|
|
|
|
#import <SignalServiceKit/TSOutgoingMessage.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class AciObjC;
|
|
@class SSKProtoEnvelope;
|
|
|
|
@interface OWSOutgoingResendRequest : TSOutgoingMessage
|
|
|
|
- (instancetype)initWithErrorMessageBytes:(NSData *)errorMessageBytes
|
|
sourceAci:(AciObjC *)sourceAci
|
|
failedEnvelopeGroupId:(nullable NSData *)failedEnvelopeGroupId
|
|
transaction:(SDSAnyWriteTransaction *)transaction;
|
|
|
|
- (instancetype)initOutgoingMessageWithBuilder:(TSOutgoingMessageBuilder *)outgoingMessageBuilder
|
|
recipientAddressStates:
|
|
(NSDictionary<SignalServiceAddress *, TSOutgoingMessageRecipientState *> *)
|
|
recipientAddressStates NS_UNAVAILABLE;
|
|
- (instancetype)initOutgoingMessageWithBuilder:(TSOutgoingMessageBuilder *)outgoingMessageBuilder
|
|
additionalRecipients:(NSArray<SignalServiceAddress *> *)additionalRecipients
|
|
explicitRecipients:(NSArray<AciObjC *> *)explicitRecipients
|
|
skippedRecipients:(NSArray<SignalServiceAddress *> *)skippedRecipients
|
|
transaction:(SDSAnyReadTransaction *)transaction NS_UNAVAILABLE;
|
|
|
|
@end
|
|
|
|
@interface OWSOutgoingResendRequest (SwiftBridge)
|
|
@property (strong, nonatomic, readonly) NSData *decryptionErrorData;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|