Swiftgram/LegacyComponents/TGMediaAttachment.h
2018-06-16 20:01:16 +03:00

21 lines
322 B
Objective-C

#import <Foundation/Foundation.h>
@interface TGMediaAttachment : NSObject
@property (nonatomic) int type;
@property (nonatomic) bool isMeta;
- (void)serialize:(NSMutableData *)data;
@end
@protocol TGMediaAttachmentParser <NSObject>
@required
- (TGMediaAttachment *)parseMediaAttachment:(NSInputStream *)is;
@end