Update attachment documentation for width/height applying to videos too
This commit is contained in:
parent
6071607176
commit
4cf02c9461
@ -53,9 +53,9 @@ class Attachment:
|
|||||||
size: :class:`int`
|
size: :class:`int`
|
||||||
The attachment size in bytes.
|
The attachment size in bytes.
|
||||||
height: Optional[:class:`int`]
|
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`]
|
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`
|
filename: :class:`str`
|
||||||
The attachment's filename.
|
The attachment's filename.
|
||||||
url: :class:`str`
|
url: :class:`str`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user