Add message.pinned

This commit is contained in:
Amish Shah
2016-08-22 20:46:56 +01:00
parent 357502e520
commit dd40b870d5
2 changed files with 6 additions and 1 deletions

View File

@@ -28,6 +28,11 @@ class Message {
}
setup(data) {
/**
* Whether or not this message is pinned
* @type {Boolean}
*/
this.pinned = data.pinned;
/**
* The author of the message
* @type {User}