mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
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
|