Optional
fileOptional
fileOptional
height?: numberOptional
lastOptional
lastOptional
modifyOptional
remoteOptional
secret?: stringOptional
sendOptional
thumbnailOptional
thumbnailOptional
thumbnailOptional
thumbnailOptional
width?: numberThe file name.
The size of the file in bytes.
The download status of the attachment file. See ChatDownloadStatus.
The image height in pixels.
Optional
lastThe user ID of the operator that modified the message last time.
Optional
lastThe UNIX timestamp of the last message modification, in milliseconds.
The local path of the file.
Optional
modifyThe number of times a message is modified.
The path of the attachment file in the server.
The token to download the file attachment.
Whether to send the original image.
true
: Yes.false
: No. If the image is smaller than 100 KB, the SDK sends the original image. If the image is equal to or greater than 100 KB, the SDK will compress it before sending the compressed image.The local path or the URI of the thumbnail as a string.
The URL of the thumbnail on the server.
The secret to access the thumbnail. A secret is required for verification for thumbnail download.
The download status of the thumbnail. See ChatDownloadStatus
Readonly
typeThe message type. See ChatMessageType.
The image width in pixels.
The image message body class.