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