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

26 lines
843 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGInterfaceController.h"
@class TGBridgeContext;
@class TGBridgeChat;
@class TGBridgeMessage;
@interface TGMessageViewControllerContext : NSObject <TGInterfaceContext>
@property (nonatomic, strong) TGBridgeContext *context;
@property (nonatomic, readonly) TGBridgeMessage *message;
@property (nonatomic, readonly) int64_t peerId;
@property (nonatomic, readonly) TGBridgeChat *channel;
2016-02-25 01:03:51 +01:00
@property (nonatomic, strong) NSDictionary *additionalPeers;
2015-10-01 18:19:52 +02:00
- (instancetype)initWithMessage:(TGBridgeMessage *)message peerId:(int64_t)peerId;
- (instancetype)initWithMessage:(TGBridgeMessage *)message channel:(TGBridgeChat *)channel;
2016-02-25 01:03:51 +01:00
2015-10-01 18:19:52 +02:00
@end
@interface TGMessageViewController : TGInterfaceController
@property (nonatomic, weak) IBOutlet WKInterfaceTable *table;
@property (nonatomic, weak) IBOutlet WKInterfaceImage *activityIndicator;
@end