Swiftgram/submodules/WatchCommon/Sources/TGBridgeDocumentMediaAttachment.h
2019-06-16 00:51:10 +01:00

28 lines
959 B
Objective-C

#if TARGET_OS_WATCH
#import <WatchCommonWatch/TGBridgeMediaAttachment.h>
#else
#import <WatchCommon/TGBridgeMediaAttachment.h>
#endif
@interface TGBridgeDocumentMediaAttachment : TGBridgeMediaAttachment
@property (nonatomic, assign) int64_t documentId;
@property (nonatomic, assign) int64_t localDocumentId;
@property (nonatomic, assign) int32_t fileSize;
@property (nonatomic, strong) NSString *fileName;
@property (nonatomic, strong) NSValue *imageSize;
@property (nonatomic, assign) bool isAnimated;
@property (nonatomic, assign) bool isSticker;
@property (nonatomic, strong) NSString *stickerAlt;
@property (nonatomic, assign) int64_t stickerPackId;
@property (nonatomic, assign) int64_t stickerPackAccessHash;
@property (nonatomic, assign) bool isVoice;
@property (nonatomic, assign) bool isAudio;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *performer;
@property (nonatomic, assign) int32_t duration;
@end