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

23 lines
827 B
Objective-C

#import "WKInterfaceTable+TGDataDrivenTable.h"
@class TGBridgeContext;
@class TGBridgeUser;
@class TGBridgeChat;
@interface TGUserInfoHeaderController : TGTableRowController
@property (nonatomic, weak) IBOutlet WKInterfaceButton *avatarButton;
@property (nonatomic, weak) IBOutlet WKInterfaceGroup *avatarGroup;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *avatarInitialsLabel;
@property (nonatomic, weak) IBOutlet WKInterfaceImage *avatarVerified;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *nameLabel;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *lastSeenLabel;
- (IBAction)avatarPressedAction;
@property (nonatomic, copy) void (^avatarPressed)(void);
- (void)updateWithUser:(TGBridgeUser *)user context:(TGBridgeContext *)context;
- (void)updateWithChannel:(TGBridgeChat *)channel;
@end