Swiftgram/MTProtoKit/MTRequestContext.m
2014-02-25 20:00:18 +04:00

27 lines
683 B
Objective-C

/*
* This is the source code of Telegram for iOS v. 1.1
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Peter Iakovlev, 2013.
*/
#import <MTProtoKit/MTRequestContext.h>
@implementation MTRequestContext
- (instancetype)initWithMessageId:(int64_t)messageId messageSeqNo:(int32_t)messageSeqNo transactionId:(id)transactionId quickAckId:(int32_t)quickAckId
{
self = [super init];
if (self != nil)
{
_messageId = messageId;
_messageSeqNo = messageSeqNo;
_transactionId = transactionId;
_quickAckId = quickAckId;
}
return self;
}
@end