diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index c8564ad1..63caf969 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -126,12 +126,14 @@ class UploadMethods: entity (`entity`): Who will receive the file. - file (`str` | `bytes` | `file` | `media`): + file (`str` | `list` | `bytes` | `file` | `media`): The file to send, which can be one of: * A local file path to an in-disk file. The file name will be the path's base name. + * A list of files can be passed to send an album. + * A `bytes` byte array with the file's data to send (for example, by using ``text.encode('utf-8')``). A default file name will be used.