mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
20 lines
1.0 KiB
C
20 lines
1.0 KiB
C
|
#import "TGModernConversationInputPanel.h"
|
||
|
|
||
|
@class TGDataItem;
|
||
|
@class TGLiveUploadActorData;
|
||
|
@class TGModernConversationAssociatedInputPanel;
|
||
|
@class TGAudioWaveform;
|
||
|
|
||
|
@interface TGModernConversationAudioPreviewInputPanel : TGModernConversationInputPanel
|
||
|
|
||
|
@property (nonatomic, copy) void (^playbackDidBegin)();
|
||
|
|
||
|
- (instancetype)initWithDataItem:(TGDataItem *)dataItem duration:(NSTimeInterval)duration liveUploadActorData:(TGLiveUploadActorData *)liveUploadActorData waveform:(TGAudioWaveform *)waveform cancel:(void (^)())cancel send:(void (^)(TGDataItem *, NSTimeInterval, TGLiveUploadActorData *, TGAudioWaveform *))send;
|
||
|
- (void)stop;
|
||
|
|
||
|
- (void)setPrimaryExtendedPanel:(TGModernConversationAssociatedInputPanel *)extendedPanel animated:(bool)animated;
|
||
|
- (void)setPrimaryExtendedPanel:(TGModernConversationAssociatedInputPanel *)extendedPanel animated:(bool)animated skipHeightAnimation:(bool)skipHeightAnimation;
|
||
|
- (void)setSecondaryExtendedPanel:(TGModernConversationAssociatedInputPanel *)extendedPanel animated:(bool)animated;
|
||
|
|
||
|
@end
|