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.
		
		
		
		
		
			
		
			
	
	
		
			28 lines
		
	
	
		
			916 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			28 lines
		
	
	
		
			916 B
		
	
	
	
		
			C
		
	
| 
											8 years ago
										 | //
 | ||
|  | //  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
 | ||
|  | //
 | ||
|  | 
 | ||
|  | #import <SignalServiceKit/TSInteraction.h>
 | ||
|  | 
 | ||
|  | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
|  | @interface OWSContactOffersInteraction : TSInteraction | ||
|  | 
 | ||
| 
											8 years ago
										 | @property (nonatomic, readonly) BOOL hasBlockOffer; | ||
|  | @property (nonatomic, readonly) BOOL hasAddToContactsOffer; | ||
|  | @property (nonatomic, readonly) BOOL hasAddToProfileWhitelistOffer; | ||
| 
											8 years ago
										 | @property (nonatomic, readonly) NSString *recipientId; | ||
| 
											8 years ago
										 | 
 | ||
|  | - (instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER; | ||
|  | 
 | ||
|  | - (instancetype)initWithTimestamp:(uint64_t)timestamp | ||
|  |                            thread:(TSThread *)thread | ||
| 
											8 years ago
										 |                     hasBlockOffer:(BOOL)hasBlockOffer | ||
|  |             hasAddToContactsOffer:(BOOL)hasAddToContactsOffer | ||
|  |     hasAddToProfileWhitelistOffer:(BOOL)hasAddToProfileWhitelistOffer | ||
| 
											8 years ago
										 |                       recipientId:(NSString *)recipientId NS_DESIGNATED_INITIALIZER; | ||
| 
											8 years ago
										 | 
 | ||
|  | @end | ||
|  | 
 | ||
|  | NS_ASSUME_NONNULL_END |