mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
14 lines
430 B
Objective-C
14 lines
430 B
Objective-C
#import "TGBotContextImageResult.h"
|
|
|
|
@implementation TGBotContextImageResult
|
|
|
|
- (instancetype)initWithQueryId:(int64_t)queryId resultId:(NSString *)resultId type:(NSString *)type image:(TGImageMediaAttachment *)image sendMessage:(id)sendMessage {
|
|
self = [super initWithQueryId:(int64_t)queryId resultId:resultId type:type sendMessage:sendMessage];
|
|
if (self != nil) {
|
|
_image = image;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|