Peter d153fe0f21 Add 'submodules/LegacyComponents/' from commit 'd5594346161c1b7f203d1e87068bbe77bcaac019'
git-subtree-dir: submodules/LegacyComponents
git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9
git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
2019-06-11 18:51:15 +01:00

35 lines
1.3 KiB
Objective-C

#import <LegacyComponents/TGMediaAttachment.h>
#import <LegacyComponents/TGImageInfo.h>
#import <LegacyComponents/TGImageMediaAttachment.h>
#import <LegacyComponents/TGDocumentMediaAttachment.h>
#import <LegacyComponents/TGInstantPage.h>
#define TGWebPageMediaAttachmentType ((int)0x584197af)
@interface TGWebPageMediaAttachment : TGMediaAttachment <TGMediaAttachmentParser, NSCoding>
@property (nonatomic) int64_t webPageId;
@property (nonatomic) int64_t webPageLocalId;
@property (nonatomic) int32_t pendingDate;
@property (nonatomic) int32_t webPageHash;
@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) NSArray *pageDescriptionEntities;
@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;
@property (nonatomic, strong) TGDocumentMediaAttachment *document;
@property (nonatomic, strong) TGInstantPage *instantPage;
@end