//
//  chatCellView.h
//  AIIM
//
//  Created by gan on 2025/6/24.
//

#ifndef chatCellView_h
#define chatCellView_h


#endif /* chatCellView_h */
#import <UIKit/UIKit.h>
#import "ChatMessageModel.h"

@interface chatCellView : UITableViewCell


@property (nonatomic, weak) UIViewController *parentViewController;

@property (nonatomic, assign) BOOL isHistory;
@property (nonatomic, assign) BOOL batchState;
@property (nonatomic,copy) void(^bubbleCellLongPressMenuBlock)(NSInteger index);
@property (nonatomic,copy) void(^batchSelectedStateBlock)(BOOL isSelected);
@property (nonatomic,copy) void(^avatarTapBlock)(ChatMessageModel * message);
@property (nonatomic,copy) void(^resendMessageBlock)(ChatMessageModel * message);
@property (nonatomic) CGFloat height;
@property (nonatomic, strong) ChatMessageModel *messageModel;

-(void)fileUploadProgressDidChanged:(NSInteger)persent localtime:(NSInteger)localtime;

+ (CGFloat)cellHeightForMessage:(ChatMessageModel *)message;
@end
