1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 08:59:48 +01:00
Telegram/Watch/Extension/TGUserRowController.h
2015-10-01 19:19:52 +03:00

20 lines
793 B
Objective-C

#import "WKInterfaceTable+TGDataDrivenTable.h"
@class TGBridgeUser;
@class TGBridgeChat;
@class TGBridgeBotCommandInfo;
@class TGBridgeContext;
@interface TGUserRowController : TGTableRowController
@property (nonatomic, weak) IBOutlet WKInterfaceGroup *avatarGroup;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *avatarInitialsLabel;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *nameLabel;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *lastSeenLabel;
- (void)updateWithUser:(TGBridgeUser *)user context:(TGBridgeContext *)context;
- (void)updateWithChannel:(TGBridgeChat *)channel context:(TGBridgeContext *)context;
- (void)updateWithBotCommandInfo:(TGBridgeBotCommandInfo *)commandInfo botUser:(TGBridgeUser *)botUser context:(TGBridgeContext *)context;
@end