1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGWebSearchController.h
2015-10-01 19:19:52 +03:00

22 lines
630 B
Objective-C

#import "TGViewController.h"
@class TGImageInfo;
@interface TGWebSearchController : TGViewController
@property (nonatomic, copy) void (^dismiss)(void);
@property (nonatomic, copy) void (^completion)(TGWebSearchController *sender);
@property (nonatomic, copy) void (^avatarCreated)(UIImage *);
@property (nonatomic, readonly) bool avatarSelection;
@property (nonatomic, assign) bool disallowCaptions;
- (instancetype)initForAvatarSelection:(bool)avatarSelection;
- (NSArray *)selectedItemSignals:(id (^)(id, NSString *))imageDescriptionGenerator;
+ (void)clearRecents;
+ (void)addRecentSelectedItems:(NSArray *)items;
@end