mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Update attachment documentation for width/height applying to videos too
This commit is contained in:
@ -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`
|
||||
|
Reference in New Issue
Block a user