mirror of
https://github.com/danog/Telegram.git
synced 2024-11-30 04:29:15 +01:00
18 lines
610 B
Objective-C
18 lines
610 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import "PSCoding.h"
|
|
|
|
#import "TGAudioWaveform.h"
|
|
|
|
@interface TGDocumentAttributeAudio : NSObject <NSCoding, PSCoding>
|
|
|
|
@property (nonatomic, readonly) bool isVoice;
|
|
@property (nonatomic, strong, readonly) NSString *title;
|
|
@property (nonatomic, strong, readonly) NSString *performer;
|
|
@property (nonatomic, readonly) int32_t duration;
|
|
@property (nonatomic, strong, readonly) TGAudioWaveform *waveform;
|
|
|
|
- (instancetype)initWithIsVoice:(bool)isVoice title:(NSString *)title performer:(NSString *)performer duration:(int32_t)duration waveform:(TGAudioWaveform *)waveform;
|
|
|
|
@end
|