1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGSharedMediaLinkItem.h
2015-10-01 19:19:52 +03:00

21 lines
537 B
Objective-C

#import "TGSharedMediaItem.h"
#import <SSignalKit/SSignalKit.h>
@class TGMessage;
@class TGModernTextViewModel;
@class TGWebPageMediaAttachment;
@interface TGSharedMediaLinkItem : NSObject <TGSharedMediaItem>
@property (nonatomic, strong, readonly) TGMessage *message;
- (instancetype)initWithMessage:(TGMessage *)message messageId:(int32_t)messageId date:(NSTimeInterval)date incoming:(bool)incoming;
- (TGModernTextViewModel *)textModel;
- (SSignal *)imageSignal;
- (TGWebPageMediaAttachment *)webPage;
- (NSArray *)links;
@end