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
If the message is of a media type, it may also have a caption
The chat object
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.
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 longitude of a location message
The text associated with a location message
An array of all mentioned numbers in this message.
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