feat: add ack to message model

close #108
This commit is contained in:
Pedro Lopez
2020-03-22 20:00:53 -04:00
parent d08b343815
commit cb54487197

View File

@@ -23,6 +23,12 @@ class Message extends Base {
*/
this.id = data.id;
/**
* ACK status for the message
* @type {MessageAck}
*/
this.ack = data.ack;
/**
* Indicates if the message has media available for download
* @type {boolean}