Add a couple of message properties

This commit is contained in:
Basti 2022-01-04 13:34:30 -06:00
parent a0bec9a12c
commit dcf117e1dd
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -442,7 +442,9 @@ const ChatMessages = function (privateClient, publicClient) {
* @param {string} message.from - The sender of the message * @param {string} message.from - The sender of the message
* @param {string} message.text - The message itself * @param {string} message.text - The message itself
* @param {string} message.type - Type of message (one of text, join, leave, action) * @param {string} message.type - Type of message (one of text, join, leave, action)
* @param {string} [message.id] - Unique ID of message. TODO implement * @param {string} [message.id] - Unique ID of message.
* @param {string} [message.sid] - Unique stanza ID of message (XMPP only)
* @param {boolean} [message.edited] - If the message has been edited
* *
* @returns {Promise} * @returns {Promise}
*/ */