mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-30 14:57:53 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
59 lines
1.3 KiB
Objective-C
59 lines
1.3 KiB
Objective-C
#import "MTSetClientDhParamsResponseMessage.h"
|
|
|
|
@implementation MTSetClientDhParamsResponseMessage
|
|
|
|
- (instancetype)initWithNonce:(NSData *)nonce serverNonce:(NSData *)serverNonce
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
_nonce = nonce;
|
|
_serverNonce = serverNonce;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation MTSetClientDhParamsResponseOkMessage
|
|
|
|
- (instancetype)initWithNonce:(NSData *)nonce serverNonce:(NSData *)serverNonce nextNonceHash1:(NSData *)nextNonceHash1
|
|
{
|
|
self = [super initWithNonce:nonce serverNonce:serverNonce];
|
|
if (self != nil)
|
|
{
|
|
_nextNonceHash1 = nextNonceHash1;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation MTSetClientDhParamsResponseRetryMessage
|
|
|
|
- (instancetype)initWithNonce:(NSData *)nonce serverNonce:(NSData *)serverNonce nextNonceHash2:(NSData *)nextNonceHash2
|
|
{
|
|
self = [super initWithNonce:nonce serverNonce:serverNonce];
|
|
if (self != nil)
|
|
{
|
|
_nextNonceHash2 = nextNonceHash2;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation MTSetClientDhParamsResponseFailMessage
|
|
|
|
- (instancetype)initWithNonce:(NSData *)nonce serverNonce:(NSData *)serverNonce nextNonceHash3:(NSData *)nextNonceHash3
|
|
{
|
|
self = [super initWithNonce:nonce serverNonce:serverNonce];
|
|
if (self != nil)
|
|
{
|
|
_nextNonceHash3 = nextNonceHash3;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|