1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/TGPreparedCloudDocumentMessage.h

27 lines
870 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGPreparedMessage.h"
#import "PSCoding.h"
@class TGImageInfo;
@interface TGPreparedCloudDocumentMessage : TGPreparedMessage
@property (nonatomic, strong) NSURL *documentUrl;
@property (nonatomic, strong) NSString *mimeType;
@property (nonatomic) int size;
@property (nonatomic, strong) TGImageInfo *thumbnailInfo;
@property (nonatomic) int64_t localDocumentId;
@property (nonatomic, strong) NSArray *attributes;
- (instancetype)initWithDocumentUrl:(NSURL *)documentUrl localDocumentId:(int64_t)localDocumentId mimeType:(NSString *)mimeType size:(int)size thumbnailInfo:(TGImageInfo *)thumbnailInfo attributes:(NSArray *)attributes replyMessage:(TGMessage *)replyMessage;
@end
@interface TGCloudDocumentUrlBookmark : NSObject <PSCoding>
@property (nonatomic, readonly) NSURL *documentUrl;
- (instancetype)initWithDocumentUrl:(NSURL *)documentUrl;
@end