//
//  TUICustomOpenFileDelegate.h
//  Pods
//
//  Created by alexzzw on 2025/5/20.
//

#import <Foundation/Foundation.h>
@import ImSDK_Plus;

@class TUIFileMessageCellData;

NS_ASSUME_NONNULL_BEGIN

/////////////////////////////////////////////////////////////////////////////////
//
//                         TUICustomOpenFileDelegate
//
/////////////////////////////////////////////////////////////////////////////////

@protocol TUICustomOpenFileDelegate <NSObject>

/**
 *  Callback for clicking file cell
 *  You can use this callback to: preview file inside the app
 *
 *  @param cellData include local file data
 */
- (void)didTapInFileCell:(TUIFileMessageCellData *)cellData;

@end

NS_ASSUME_NONNULL_END

