ChatVideoMessageBody constructor
      
      ChatVideoMessageBody({})
     
    
创建一条视频消息。
Param localPath 视频文件本地路径。
Param displayName 视频名称。
Param duration 视频时长,单位为秒。
Param fileSize 视频文件大小,单位是字节。
Param thumbnailLocalPath 视频缩略图本地路径。
Param height 视频高度,单位是像素。
Param width 视频宽度,单位是像素。
Implementation
ChatVideoMessageBody({
  required String localPath,
  String? displayName,
  this.duration = 0,
  int? fileSize,
  this.thumbnailLocalPath,
  this.height,
  this.width,
}) : super(
        localPath: localPath,
        displayName: displayName,
        fileSize: fileSize,
        type: MessageType.VIDEO,
      );