1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGImageFileReference.h
2015-10-01 19:19:52 +03:00

17 lines
515 B
Objective-C

#import <Foundation/Foundation.h>
#import "TGFileReference.h"
@interface TGImageFileReference : NSObject <TGFileReference>
@property (nonatomic, readonly) int32_t datacenterId;
@property (nonatomic, readonly) int64_t volumeId;
@property (nonatomic, readonly) int32_t localId;
@property (nonatomic, readonly) int64_t secret;
- (instancetype)initWithDatacenterId:(int32_t)datacenterId volumeId:(int64_t)volumeId localId:(int32_t)localId secret:(int64_t)secret;
- (instancetype)initWithUrl:(NSString *)url;
@end