mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-30 06:47: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.
34 lines
665 B
Objective-C
34 lines
665 B
Objective-C
#import "MTFutureSaltsMessage.h"
|
|
|
|
@implementation MTFutureSalt
|
|
|
|
- (instancetype)initWithValidSince:(int32_t)validSince validUntil:(int32_t)validUntil salt:(int64_t)salt
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
_validSince = validSince;
|
|
_validUntil = validUntil;
|
|
_salt = salt;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation MTFutureSaltsMessage
|
|
|
|
- (instancetype)initWithRequestMessageId:(int64_t)requestMessageId now:(int32_t)now salts:(NSArray *)salts
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
_requestMessageId = requestMessageId;
|
|
_now = now;
|
|
_salts = salts;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|