mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Revert forward_messages requiring named from_peer arg
This commit is contained in:
parent
bd878acbde
commit
bb4ed4019f
|
@ -450,7 +450,7 @@ class MessageMethods(UploadMethods, MessageParseMethods):
|
|||
|
||||
return self._get_response_message(request, result, entity)
|
||||
|
||||
async def forward_messages(self, entity, messages, *, from_peer=None):
|
||||
async def forward_messages(self, entity, messages, from_peer=None):
|
||||
"""
|
||||
Forwards the given message(s) to the specified entity.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user