2015-10-01 18:19:52 +02:00
|
|
|
#import "TGCollectionItemView.h"
|
|
|
|
|
2016-02-25 01:03:51 +01:00
|
|
|
@class TGModernTextViewModel;
|
|
|
|
|
2015-10-01 18:19:52 +02:00
|
|
|
@interface TGUserInfoTextCollectionItemView : TGCollectionItemView
|
|
|
|
|
2016-02-25 01:03:51 +01:00
|
|
|
+ (CGFloat)heightForWidth:(CGFloat)width textModel:(TGModernTextViewModel *)textModel;
|
2015-10-01 18:19:52 +02:00
|
|
|
|
|
|
|
- (void)setTitle:(NSString *)title;
|
2016-02-25 01:03:51 +01:00
|
|
|
- (void)setTextModel:(TGModernTextViewModel *)textModel;
|
|
|
|
|
|
|
|
- (bool)shouldDisplayContextMenu;
|
|
|
|
|
|
|
|
- (void)setFollowLink:(void (^)(NSString *))followLink;
|
2015-10-01 18:19:52 +02:00
|
|
|
|
|
|
|
@end
|