mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-29 22:37: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.
19 lines
658 B
Objective-C
19 lines
658 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface TGBridgeContext : NSObject
|
|
|
|
@property (nonatomic, readonly) bool authorized;
|
|
@property (nonatomic, readonly) int32_t userId;
|
|
@property (nonatomic, readonly) bool micAccessAllowed;
|
|
@property (nonatomic, readonly) NSDictionary *preheatData;
|
|
@property (nonatomic, readonly) NSInteger preheatVersion;
|
|
|
|
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
|
|
- (NSDictionary *)dictionary;
|
|
|
|
- (TGBridgeContext *)updatedWithAuthorized:(bool)authorized peerId:(int32_t)peerId;
|
|
- (TGBridgeContext *)updatedWithPreheatData:(NSDictionary *)data;
|
|
- (TGBridgeContext *)updatedWithMicAccessAllowed:(bool)allowed;
|
|
|
|
@end
|