1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/Watch/Extension/TGUserInfoHeaderController.h

23 lines
827 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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