1
0
mirror of https://github.com/danog/Telegram.git synced 2025-01-06 04:58:56 +01:00
Telegram/Watch/Extension/TGUserRowController.h

20 lines
793 B
C
Raw Normal View History

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