The acknolwedgement state of a message MessageAck
The body of the message. If the message type is
body will be the text of the chat. If the message type is some sort of media, then this body will be the thumbnail of the media.
If the message is sent as a broadcast
Buttons associated with the message
If the message is of a media type, it may also have a caption
The chat object
The URL of the file after being uploaded to the cloud using a cloud upload message preprocessor.
The length of the media in the message, if it exists.
config.messagePreprocessor: "AUTO_DECRYPT_SAVE" is set, media is decrypted and saved on disk in a folder called media relative to the current working directory.
This is the filePath of the decrypted file.
Used to checking the integrity of the decrypted media.
The given filename of the file
The chat from which the message was sent
If the message is from the host account
The id of the message
If the message has been forwarded
The labels associated with the message (used with business accounts)
The latitude of a location message
The list associated with the list message
List response associated with the message
The longitude of a location message
The text associated with a location message
An array of all mentioned numbers in this message.
The ID of the selected button
Indicates whether the message was sent by the host account
The contact object of the account that sent the message
The timestamp of the message
the timestanmp of the message
The chat id to which the message is being sent
The type of the message, see MessageTypes