Revert forward_messages requiring named from_peer arg

This commit is contained in:
Lonami Exo 2018-07-07 12:14:50 +02:00
parent bd878acbde
commit bb4ed4019f

View File

@ -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.