docs(MessageAttachment): redocument name property

This commit is contained in:
SpaceEEC 2018-09-22 11:45:03 +02:00
parent 53420fa4e7
commit 3f44320bbe
No known key found for this signature in database
GPG key ID: 8C8A2E338661B871

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);
}