mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-05-30 11:09:33 +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.
20 lines
817 B
Objective-C
20 lines
817 B
Objective-C
#import <SSignalKit/SSignalKit.h>
|
|
#import <LegacyComponents/LegacyComponentsContext.h>
|
|
|
|
@class TGViewController;
|
|
@class TGMenuSheetController;
|
|
|
|
typedef enum
|
|
{
|
|
TGPassportAttachIntentDefault,
|
|
TGPassportAttachIntentIdentityCard,
|
|
TGPassportAttachIntentSelfie,
|
|
TGPassportAttachIntentMultiple
|
|
} TGPassportAttachIntent;
|
|
|
|
@interface TGPassportAttachMenu : NSObject
|
|
|
|
+ (TGMenuSheetController *)presentWithContext:(id<LegacyComponentsContext>)context parentController:(TGViewController *)parentController menuController:(TGMenuSheetController *)menuController title:(NSString *)title intent:(TGPassportAttachIntent)intent uploadAction:(void (^)(SSignal *, void (^)(void)))uploadAction sourceView:(UIView *)sourceView sourceRect:(CGRect (^)(void))sourceRect barButtonItem:(UIBarButtonItem *)barButtonItem;
|
|
|
|
@end
|