feat: message forwarding score (#716)
This commit is contained in:
parent
4afff38713
commit
9d715735ed
1 changed files with 13 additions and 0 deletions
|
|
@ -94,6 +94,14 @@ class Message extends Base {
|
|||
*/
|
||||
this.isForwarded = data.isForwarded;
|
||||
|
||||
/**
|
||||
* Indicates how many times the message was forwarded.
|
||||
*
|
||||
* The maximum value is 127.
|
||||
* @type {number}
|
||||
*/
|
||||
this.forwardingScore = data.forwardingScore || 0;
|
||||
|
||||
/**
|
||||
* Indicates if the message is a status update
|
||||
* @type {boolean}
|
||||
|
|
|
|||
Loading…
Reference in a new issue