mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
14 lines
670 B
Objective-C
14 lines
670 B
Objective-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
|