mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-02 04:38:33 +00:00
29 lines
708 B
Objective-C
29 lines
708 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/MTIncomingMessage.h>
|
|
|
|
@implementation MTIncomingMessage
|
|
|
|
- (instancetype)initWithMessageId:(int64_t)messageId seqNo:(int32_t)seqNo salt:(int64_t)salt timestamp:(NSTimeInterval)timestamp size:(NSInteger)size body:(id)body
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
_messageId = messageId;
|
|
_seqNo = seqNo;
|
|
_salt = salt;
|
|
_timestamp = timestamp;
|
|
_size = size;
|
|
_body = body;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|