ChatImageMessageBody class

The image message body class.

Inheritance

Constructors

ChatImageMessageBody({required String localPath, String? displayName, String? thumbnailLocalPath, bool sendOriginalImage = false, int? fileSize, double? width, double? height})
Creates an image message body with an image file.

Properties

displayName String?
The attachment name.
read / writeinherited
fileSize int?
The size of the attachment in bytes.
read / writeinherited
fileStatus DownloadStatus
The download status of the attachment.
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
height double?
The image height in pixels.
read / write
localPath String
The local path of the attachment.
latefinalinherited
remotePath String?
The attachment path in the server.
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
secret String?
The token used to get the attachment.
read / writeinherited
sendOriginalImage bool
Whether to send the original image.
read / write
thumbnailLocalPath String?
The local path or the URI (a string) of the thumbnail.
read / write
thumbnailRemotePath String?
The URL of the thumbnail on the server.
read / write
thumbnailSecret String?
The secret to access the thumbnail. A secret is required for verification for thumbnail download.
read / write
thumbnailStatus DownloadStatus
The download status of the thumbnail.
read / write
type MessageType
Gets the chat message type.
read / writeinherited
width double?
The image width in pixels.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited