mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-19 09:41:29 +00:00
26 lines
795 B
Objective-C
26 lines
795 B
Objective-C
#import <LegacyComponents/TGMediaAttachment.h>
|
|
|
|
#define TGAudioMediaAttachmentType 0x3A0E7A32
|
|
|
|
@interface TGAudioMediaAttachment : TGMediaAttachment <TGMediaAttachmentParser>
|
|
|
|
@property (nonatomic) int64_t audioId;
|
|
@property (nonatomic) int64_t accessHash;
|
|
@property (nonatomic) int32_t datacenterId;
|
|
|
|
@property (nonatomic) int64_t localAudioId;
|
|
|
|
@property (nonatomic) int32_t duration;
|
|
@property (nonatomic) int32_t fileSize;
|
|
|
|
@property (nonatomic, strong) NSString *audioUri;
|
|
|
|
/*- (NSString *)localFilePath;
|
|
|
|
+ (NSString *)localAudioFileDirectoryForLocalAudioId:(int64_t)audioId;
|
|
+ (NSString *)localAudioFileDirectoryForRemoteAudioId:(int64_t)audioId;
|
|
+ (NSString *)localAudioFilePathForLocalAudioId:(int64_t)audioId;
|
|
+ (NSString *)localAudioFilePathForRemoteAudioId:(int64_t)audioId;*/
|
|
|
|
@end
|