1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 08:59:48 +01:00
Telegram/Watch/Extension/TGBotCommandController.h
2015-10-01 19:19:52 +03:00

22 lines
632 B
Objective-C

#import "TGInterfaceController.h"
@class SSignal;
@class TGBridgeContext;
@interface TGBotCommandControllerContext : NSObject <TGInterfaceContext>
@property (nonatomic, strong) TGBridgeContext *context;
@property (nonatomic, strong) SSignal *commandListSignal;
@property (nonatomic, copy) void (^completionBlock)(NSString *command);
@end
@interface TGBotCommandController : TGInterfaceController
@property (nonatomic, weak) IBOutlet WKInterfaceTable *table;
@property (nonatomic, weak) IBOutlet WKInterfaceImage *activityIndicator;
@end
extern NSString *const TGBotCommandUserKey;
extern NSString *const TGBotCommandListKey;