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.
33 lines
953 B
C
33 lines
953 B
C
|
10 years ago
|
//
|
||
|
|
// TSAttachementPointer.h
|
||
|
|
// Signal
|
||
|
|
//
|
||
|
|
// Created by Frederic Jacobs on 17/12/14.
|
||
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import <Foundation/Foundation.h>
|
||
|
|
|
||
|
|
#import "TSAttachment.h"
|
||
|
|
|
||
|
|
@interface TSAttachmentPointer : TSAttachment
|
||
|
|
|
||
|
|
- (instancetype)initWithIdentifier:(uint64_t)identifier
|
||
|
|
key:(NSData *)key
|
||
|
|
contentType:(NSString *)contentType
|
||
|
|
relay:(NSString *)relay NS_DESIGNATED_INITIALIZER;
|
||
|
|
|
||
|
|
- (instancetype)initWithIdentifier:(uint64_t)identifier
|
||
|
|
key:(NSData *)key
|
||
|
|
contentType:(NSString *)contentType
|
||
|
|
relay:(NSString *)relay
|
||
|
|
avatarOfGroupId:(NSData *)avatarOfGroupId;
|
||
|
|
|
||
|
|
@property NSString *relay;
|
||
|
|
@property NSData *avatarOfGroupId;
|
||
|
|
|
||
|
|
@property (getter=isDownloading) BOOL downloading;
|
||
|
|
@property (getter=hasFailed) BOOL failed;
|
||
|
|
|
||
|
|
@end
|