mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 19:03:46 +03:00
parent
a1f91d6eb8
commit
52ae9f09ce
|
@ -599,6 +599,8 @@ class UserMethods:
|
||||||
notify.peer = await self.get_input_entity(notify.peer)
|
notify.peer = await self.get_input_entity(notify.peer)
|
||||||
return notify
|
return notify
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
return types.InputNotifyPeer(await self.get_input_entity(notify))
|
pass
|
||||||
|
|
||||||
|
return types.InputNotifyPeer(await self.get_input_entity(notify))
|
||||||
|
|
||||||
# endregion
|
# endregion
|
||||||
|
|
Loading…
Reference in New Issue
Block a user