docs: add video to MessageAttachment properties (#2608)

This commit is contained in:
Souji
2018-06-19 20:09:55 +02:00
committed by Crawl
parent c5fea45f30
commit 791f58e130

View File

@@ -99,13 +99,13 @@ class MessageAttachment {
this.proxyURL = data.proxy_url;
/**
* The height of this attachment (if an image)
* The height of this attachment (if an image or video)
* @type {?number}
*/
this.height = data.height;
/**
* The width of this attachment (if an image)
* The width of this attachment (if an image or video)
* @type {?number}
*/
this.width = data.width;