FileMessageParams constructor

FileMessageParams({
  1. File? file,
  2. String? caption = "",
  3. String? thumbImage,
  4. int? fileSize,
  5. int? duration,
  6. String? fileName,
})

Initializes a new instance of the FileMessageParams class.

Implementation

FileMessageParams(
    {this.file,
    this.caption = "",
    // this.localFilePath,
    this.thumbImage,
    this.fileSize,
    this.duration,
    // this.fileUrl,
    this.fileName});