mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 02:53:31 +01:00
docs: add video to MessageAttachment properties (#2608)
This commit is contained in:
@@ -99,13 +99,13 @@ class MessageAttachment {
|
|||||||
this.proxyURL = data.proxy_url;
|
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}
|
* @type {?number}
|
||||||
*/
|
*/
|
||||||
this.height = data.height;
|
this.height = data.height;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The width of this attachment (if an image)
|
* The width of this attachment (if an image or video)
|
||||||
* @type {?number}
|
* @type {?number}
|
||||||
*/
|
*/
|
||||||
this.width = data.width;
|
this.width = data.width;
|
||||||
|
|||||||
Reference in New Issue
Block a user