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
|