mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
27 lines
888 B
Objective-C
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
|