2015-10-01 18:19:52 +02:00
|
|
|
#import "TGMediaAttachment.h"
|
|
|
|
|
|
|
|
#import "TGImageInfo.h"
|
|
|
|
#import "TGImageMediaAttachment.h"
|
2016-02-25 01:03:51 +01:00
|
|
|
#import "TGDocumentMediaAttachment.h"
|
2015-10-01 18:19:52 +02:00
|
|
|
|
|
|
|
#define TGWebPageMediaAttachmentType ((int)0x584197af)
|
|
|
|
|
|
|
|
@interface TGWebPageMediaAttachment : TGMediaAttachment <TGMediaAttachmentParser, NSCoding>
|
|
|
|
|
|
|
|
@property (nonatomic) int64_t webPageId;
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic) int64_t webPageLocalId;
|
2015-10-01 18:19:52 +02:00
|
|
|
@property (nonatomic) int32_t pendingDate;
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSString *url;
|
|
|
|
@property (nonatomic, strong) NSString *displayUrl;
|
|
|
|
@property (nonatomic, strong) NSString *pageType;
|
|
|
|
@property (nonatomic, strong) NSString *siteName;
|
|
|
|
@property (nonatomic, strong) NSString *title;
|
|
|
|
@property (nonatomic, strong) NSString *pageDescription;
|
|
|
|
@property (nonatomic, strong) TGImageMediaAttachment *photo;
|
|
|
|
@property (nonatomic, strong) NSString *embedUrl;
|
|
|
|
@property (nonatomic, strong) NSString *embedType;
|
|
|
|
@property (nonatomic) CGSize embedSize;
|
|
|
|
@property (nonatomic, strong) NSNumber *duration;
|
|
|
|
@property (nonatomic, strong) NSString *author;
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic, strong) TGDocumentMediaAttachment *document;
|
2015-10-01 18:19:52 +02:00
|
|
|
|
|
|
|
@end
|