1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGPreparedDownloadExternalImageMessage.h
2016-02-25 01:03:51 +01:00

27 lines
888 B
Objective-C

#import "TGPreparedMessage.h"
#import "TGExternalImageSearchResult.h"
#import "PSCoding.h"
@class TGImageInfo;
@interface TGPreparedDownloadExternalImageMessage : TGPreparedMessage
@property (nonatomic, readonly) TGExternalImageSearchResult *searchResult;
@property (nonatomic) int size;
@property (nonatomic, strong) TGImageInfo *imageInfo;
@property (nonatomic, strong) NSString *caption;
- (instancetype)initWithSearchResult:(TGExternalImageSearchResult *)searchResult imageInfo:(TGImageInfo *)imageInfo caption:(NSString *)caption replyMessage:(TGMessage *)replyMessage botContextResult:(TGBotContextResultAttachment *)botContextResult;
@end
@interface TGDownloadExternalImageInfo : NSObject <PSCoding>
@property (nonatomic, strong, readonly) TGExternalImageSearchResult *searchResult;
- (instancetype)initWithSearchResult:(TGExternalImageSearchResult *)searchResult;
@end