mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-04 10:30:42 +00:00

git-subtree-dir: submodules/MtProtoKit git-subtree-mainline: 3b155750f5a4894ff3dedf1860a37e94e0ea9571 git-subtree-split: 14ab734b977fd4f1686a2a13415f6a4c9b9fdd6d
22 lines
605 B
Objective-C
22 lines
605 B
Objective-C
#import "MTNewSessionCreatedMessage.h"
|
|
|
|
@implementation MTNewSessionCreatedMessage
|
|
|
|
- (instancetype)initWithFirstMessageId:(int64_t)firstMessageId uniqueId:(int64_t)uniqueId serverSalt:(int64_t)serverSalt
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
_firstMessageId = firstMessageId;
|
|
_uniqueId = uniqueId;
|
|
_serverSalt = serverSalt;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (NSString *)description {
|
|
return [NSString stringWithFormat:@"MTNewSessionCreatedMessage session_created firstMessageId:%lld uniqueId:%lld serverSalt: %lld", _firstMessageId, _uniqueId, _serverSalt];
|
|
}
|
|
|
|
@end
|