#import @class TGModernConversationInputMicButton; @protocol TGModernConversationInputMicButtonDelegate @optional - (void)micButtonInteractionBegan; - (void)micButtonInteractionCancelled:(CGPoint)velocity; - (void)micButtonInteractionCompleted:(CGPoint)velocity; - (void)micButtonInteractionUpdate:(CGPoint)value; - (void)micButtonInteractionLocked; - (void)micButtonInteractionRequestedLockedAction; - (void)micButtonInteractionStopped; - (bool)micButtonShouldLock; @end @interface TGModernConversationInputMicButton : UIButton @property (nonatomic, weak) id delegate; @property (nonatomic, strong) UIImage *icon; @property (nonatomic, strong) UIImageView *iconView; @property (nonatomic, assign) bool blocking; @property (nonatomic, readonly) bool locked; @property (nonatomic) bool fadeDisabled; @property (nonatomic) bool overlayDisabled; - (void)animateIn; - (void)animateOut; - (void)addMicLevel:(CGFloat)level; - (void)updateOverlay; - (void)_commitLocked; @end