Fix events.Album and minor docs nit, bump to v1.10.1

This commit is contained in:
Lonami Exo 2019-09-09 19:21:03 +02:00
parent b4046017a7
commit 47956ddbca
3 changed files with 3 additions and 3 deletions

View File

@ -70,5 +70,5 @@ through :tl:`UploadProfilePhoto`:
from telethon.tl.functions.photos import UploadProfilePhotoRequest from telethon.tl.functions.photos import UploadProfilePhotoRequest
await client(UploadProfilePhotoRequest( await client(UploadProfilePhotoRequest(
client.upload_file('/path/to/some/file') await client.upload_file('/path/to/some/file')
))) )))

View File

@ -27,7 +27,7 @@ class Album(EventBuilder):
super().__init__(chats, blacklist_chats=blacklist_chats, func=func) super().__init__(chats, blacklist_chats=blacklist_chats, func=func)
@classmethod @classmethod
def build(cls, update, others=None): def build(cls, update, others=None, self_id=None):
if not others: if not others:
return # We only care about albums which come inside the same Updates return # We only care about albums which come inside the same Updates

View File

@ -1,3 +1,3 @@
# Versions should comply with PEP440. # Versions should comply with PEP440.
# This line is parsed in setup.py: # This line is parsed in setup.py:
__version__ = '1.10.0' __version__ = '1.10.1'