ChatVideoMessageBody constructor
Creates a video message.
Param localPath
The local path of the video file.
Param displayName
The video name.
Param duration The video duration in seconds.
Param fileSize
The size of the video file in bytes.
Param thumbnailLocalPath The local path of the video thumbnail.
Param height The video height in pixels.
Param width The video width in pixels.
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,
);