mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 10:27:46 +01:00
14 lines
670 B
C
14 lines
670 B
C
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@class TGInterfaceController;
|
||
|
|
||
|
@interface TGInputController : NSObject
|
||
|
|
||
|
+ (void)presentPlainInputControllerForInterfaceController:(TGInterfaceController *)interfaceController completion:(void (^)(NSString *))completion;
|
||
|
+ (void)presentInputControllerForInterfaceController:(TGInterfaceController *)interfaceController suggestionsForText:(NSString *)text completion:(void (^)(NSString *))completion;
|
||
|
+ (void)presentAudioControllerForInterfaceController:(TGInterfaceController *)interfaceController completion:(void (^)(int64_t uniqueId, int32_t duration, NSURL *url))completion;
|
||
|
|
||
|
+ (NSArray *)suggestionsForText:(NSString *)text;
|
||
|
|
||
|
@end
|