Update attachment documentation for width/height applying to videos too

This commit is contained in:
Rapptz 2020-01-20 00:10:37 -05:00
parent 6071607176
commit 4cf02c9461

View File

@ -53,9 +53,9 @@ class Attachment:
size: :class:`int`
The attachment size in bytes.
height: Optional[:class:`int`]
The attachment's height, in pixels. Only applicable to images.
The attachment's height, in pixels. Only applicable to images and videos.
width: Optional[:class:`int`]
The attachment's width, in pixels. Only applicable to images.
The attachment's width, in pixels. Only applicable to images and videos.
filename: :class:`str`
The attachment's filename.
url: :class:`str`