mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Move app to a dedicated folder
This commit is contained in:
29
Telegram/Watch/Extension/TGUserInfoController.h
Normal file
29
Telegram/Watch/Extension/TGUserInfoController.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user