1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Watch/Extension/TGUserInfoController.h
2015-10-01 19:19:52 +03:00

30 lines
803 B
Objective-C

#import "TGInterfaceController.h"
@class TGBridgeContext;
@class TGBridgeUser;
@class TGBridgeChat;
@interface TGUserInfoControllerContext : NSObject <TGInterfaceContext>
@property (nonatomic, strong) TGBridgeContext *context;
@property (nonatomic, readonly) TGBridgeUser *user;
@property (nonatomic, readonly) int32_t userId;
@property (nonatomic, readonly) TGBridgeChat *channel;
@property (nonatomic, assign) bool disallowCompose;
- (instancetype)initWithUser:(TGBridgeUser *)user;
- (instancetype)initWithUserId:(int32_t)userId;
- (instancetype)initWithChannel:(TGBridgeChat *)channel;
@end
@interface TGUserInfoController : TGInterfaceController
@property (nonatomic, weak) IBOutlet WKInterfaceTable *table;
@property (nonatomic, weak) IBOutlet WKInterfaceImage *activityIndicator;
@end