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.
30 lines
951 B
C
30 lines
951 B
C
5 years ago
|
//
|
||
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "SSKJobRecord.h"
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@class TSOutgoingMessage;
|
||
|
|
||
|
@interface SSKMessageSenderJobRecord : SSKJobRecord
|
||
|
|
||
|
@property (nonatomic, readonly, nullable) NSString *messageId;
|
||
|
@property (nonatomic, readonly, nullable) NSString *threadId;
|
||
|
@property (nonatomic, readonly, nullable) TSOutgoingMessage *invisibleMessage;
|
||
|
@property (nonatomic, readonly) BOOL removeMessageAfterSending;
|
||
|
|
||
|
- (nullable instancetype)initWithMessage:(TSOutgoingMessage *)message
|
||
|
removeMessageAfterSending:(BOOL)removeMessageAfterSending
|
||
|
label:(NSString *)label
|
||
|
error:(NSError **)outError NS_DESIGNATED_INITIALIZER;
|
||
|
|
||
|
- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
|
||
|
|
||
|
- (instancetype)initWithLabel:(nullable NSString *)label NS_UNAVAILABLE;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|