mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
694 B
Objective-C
24 lines
694 B
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSOutgoingMessage.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class OWSSignalServiceProtosDataMessageBuilder;
|
|
@class SignalRecipient;
|
|
|
|
typedef NSData *_Nonnull (^DynamicOutgoingMessageBlock)(SignalRecipient *);
|
|
|
|
@interface OWSDynamicOutgoingMessage : TSOutgoingMessage
|
|
|
|
- (instancetype)initWithPlainTextDataBlock:(DynamicOutgoingMessageBlock)block thread:(nullable TSThread *)thread;
|
|
- (instancetype)initWithPlainTextDataBlock:(DynamicOutgoingMessageBlock)block
|
|
timestamp:(uint64_t)timestamp
|
|
thread:(nullable TSThread *)thread;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|