Add a couple of message properties
This commit is contained in:
parent
a0bec9a12c
commit
dcf117e1dd
@ -442,7 +442,9 @@ const ChatMessages = function (privateClient, publicClient) {
|
||||
* @param {string} message.from - The sender of the message
|
||||
* @param {string} message.text - The message itself
|
||||
* @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}
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user