mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-07-07 13:47:49 +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.
42 lines
1.3 KiB
Objective-C
42 lines
1.3 KiB
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@protocol MTDisposable;
|
|
|
|
@interface MTRequestPendingVerificationData : NSObject
|
|
|
|
@property (nonatomic, strong, readonly) NSString *nonce;
|
|
@property (nonatomic, strong) NSString *secret;
|
|
@property (nonatomic) bool isResolved;
|
|
@property (nonatomic, strong) id<MTDisposable> disposable;
|
|
|
|
- (instancetype)initWithNonce:(NSString *)nonce;
|
|
|
|
@end
|
|
|
|
@interface MTRequestPendingRecaptchaVerificationData : NSObject
|
|
|
|
@property (nonatomic, strong, readonly) NSString *siteKey;
|
|
@property (nonatomic, strong) NSString *token;
|
|
@property (nonatomic) bool isResolved;
|
|
@property (nonatomic, strong) id<MTDisposable> disposable;
|
|
|
|
- (instancetype)initWithSiteKey:(NSString *)siteKey;
|
|
|
|
@end
|
|
|
|
@interface MTRequestErrorContext : NSObject
|
|
|
|
@property (nonatomic) CFAbsoluteTime minimalExecuteTime;
|
|
|
|
@property (nonatomic) NSUInteger internalServerErrorCount;
|
|
@property (nonatomic) NSUInteger floodWaitSeconds;
|
|
@property (nonatomic, strong) NSString *floodWaitErrorText;
|
|
|
|
@property (nonatomic) bool waitingForTokenExport;
|
|
@property (nonatomic, strong) id waitingForRequestToComplete;
|
|
|
|
@property (nonatomic, strong) MTRequestPendingVerificationData *pendingVerificationData;
|
|
@property (nonatomic, strong) MTRequestPendingRecaptchaVerificationData *pendingRecaptchaVerificationData;
|
|
|
|
@end
|