Remove using deprecated as_album kwarg (#1621)

This commit is contained in:
Alekseev Svyatoslav 2020-11-08 02:19:50 +05:00 committed by GitHub
parent ba3a090a80
commit c4cbead25b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,7 +260,6 @@ class Album(EventBuilder):
"""
if self._client:
kwargs['messages'] = self.messages
kwargs['as_album'] = True
kwargs['from_peer'] = await self.get_input_chat()
return await self._client.forward_messages(*args, **kwargs)