mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Remove input_peer parameter from get_me
This commit is contained in:
@@ -25,7 +25,7 @@ async def _into_id_set(client, chats):
|
||||
else:
|
||||
chat = await client.get_input_entity(chat)
|
||||
if isinstance(chat, _tl.InputPeerSelf):
|
||||
chat = await client.get_me(input_peer=True)
|
||||
chat = _tl.PeerUser(self._session_state.user_id)
|
||||
result.add(utils.get_peer_id(chat))
|
||||
|
||||
return result
|
||||
|
Reference in New Issue
Block a user