mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 18:03:46 +03:00
Remove using deprecated as_album kwarg (#1621)
This commit is contained in:
parent
ba3a090a80
commit
c4cbead25b
|
@ -260,7 +260,6 @@ class Album(EventBuilder):
|
||||||
"""
|
"""
|
||||||
if self._client:
|
if self._client:
|
||||||
kwargs['messages'] = self.messages
|
kwargs['messages'] = self.messages
|
||||||
kwargs['as_album'] = True
|
|
||||||
kwargs['from_peer'] = await self.get_input_chat()
|
kwargs['from_peer'] = await self.get_input_chat()
|
||||||
return await self._client.forward_messages(*args, **kwargs)
|
return await self._client.forward_messages(*args, **kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user