1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGDocumentMessageIconView.h
2016-02-25 01:03:51 +01:00

20 lines
539 B
Objective-C

#import "TGModernView.h"
@protocol TGMessageImageViewDelegate;
@interface TGDocumentMessageIconView : UIView <TGModernView>
@property (nonatomic, weak) id<TGMessageImageViewDelegate> delegate;
@property (nonatomic, strong) NSString *fileName;
@property (nonatomic) CGFloat diameter;
@property (nonatomic) bool incoming;
@property (nonatomic) int overlayType;
@property (nonatomic) CGFloat progress;
- (void)setOverlayType:(int)overlayType animated:(bool)animated;
- (void)setProgress:(CGFloat)progress animated:(bool)animated;
@end