mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Fix tiny typo: contact -> contacts
This commit is contained in:
parent
3a0d67bf0a
commit
6a62d1b8c4
@ -38,7 +38,7 @@ class BlockUser(BaseClient):
|
|||||||
"""
|
"""
|
||||||
return bool(
|
return bool(
|
||||||
self.send(
|
self.send(
|
||||||
functions.contact.Block(
|
functions.contacts.Block(
|
||||||
id=self.resolve_peer(user_id)
|
id=self.resolve_peer(user_id)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -38,7 +38,7 @@ class UnblockUser(BaseClient):
|
|||||||
"""
|
"""
|
||||||
return bool(
|
return bool(
|
||||||
self.send(
|
self.send(
|
||||||
functions.contact.Unblock(
|
functions.contacts.Unblock(
|
||||||
id=self.resolve_peer(user_id)
|
id=self.resolve_peer(user_id)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user