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

17 lines
568 B
Objective-C

#import "TGReplyHeaderModel.h"
@class SSignal;
@class TGSignalImageViewModel;
@class TGModernImageViewModel;
@interface TGReplyHeaderImageModel : TGReplyHeaderModel
{
@protected
TGSignalImageViewModel *_imageModel;
TGModernImageViewModel *_iconModel;
}
- (instancetype)initWithPeer:(id)peer incoming:(bool)incoming text:(NSString *)text imageSignalGenerator:(SSignal *(^)())imageSignalGenerator imageSignalIdentifier:(NSString *)imageSignalIdentifier icon:(UIImage *)icon truncateTextInTheMiddle:(bool)truncateTextInTheMiddle system:(bool)system;
@end