mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 10:27:46 +01:00
30 lines
803 B
C
30 lines
803 B
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
|