mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-03 07:45:14 +00:00
Fix tiny typo: contact -> contacts
This commit is contained in:
@@ -38,7 +38,7 @@ class BlockUser(BaseClient):
|
||||
"""
|
||||
return bool(
|
||||
self.send(
|
||||
functions.contact.Block(
|
||||
functions.contacts.Block(
|
||||
id=self.resolve_peer(user_id)
|
||||
)
|
||||
)
|
||||
|
@@ -38,7 +38,7 @@ class UnblockUser(BaseClient):
|
||||
"""
|
||||
return bool(
|
||||
self.send(
|
||||
functions.contact.Unblock(
|
||||
functions.contacts.Unblock(
|
||||
id=self.resolve_peer(user_id)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user