mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
30 lines
1.1 KiB
Objective-C
30 lines
1.1 KiB
Objective-C
#import "TGMediaAttachment.h"
|
|
|
|
#import "TGImageInfo.h"
|
|
#import "TGImageMediaAttachment.h"
|
|
#import "TGDocumentMediaAttachment.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, 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;
|
|
@property (nonatomic, strong) TGDocumentMediaAttachment *document;
|
|
|
|
@end
|