docs(MessageAttachment): redocument name property

This commit is contained in:
SpaceEEC
2018-09-22 11:45:03 +02:00
parent 53420fa4e7
commit 3f44320bbe

View File

@@ -11,6 +11,10 @@ class MessageAttachment {
*/
constructor(attachment, name = null, data) {
this.attachment = attachment;
/**
* The name of this attachment
* @type {?string}
*/
this.name = name;
if (data) this._patch(data);
}