mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-03 07:45:14 +00:00
Merge branch 'develop' into asyncio
# Conflicts: # pyrogram/client/methods/messages/send_document.py
This commit is contained in:
@@ -124,6 +124,8 @@ Users
|
|||||||
- :meth:`~Client.delete_profile_photos`
|
- :meth:`~Client.delete_profile_photos`
|
||||||
- :meth:`~Client.update_username`
|
- :meth:`~Client.update_username`
|
||||||
- :meth:`~Client.get_user_dc`
|
- :meth:`~Client.get_user_dc`
|
||||||
|
- :meth:`~Client.block_user`
|
||||||
|
- :meth:`~Client.unblock_user`
|
||||||
|
|
||||||
Contacts
|
Contacts
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
@@ -264,6 +266,8 @@ Details
|
|||||||
.. automethod:: Client.delete_profile_photos()
|
.. automethod:: Client.delete_profile_photos()
|
||||||
.. automethod:: Client.update_username()
|
.. automethod:: Client.update_username()
|
||||||
.. automethod:: Client.get_user_dc()
|
.. automethod:: Client.get_user_dc()
|
||||||
|
.. automethod:: Client.block_user()
|
||||||
|
.. automethod:: Client.unblock_user()
|
||||||
|
|
||||||
.. Contacts
|
.. Contacts
|
||||||
.. automethod:: Client.add_contacts()
|
.. automethod:: Client.add_contacts()
|
||||||
|
@@ -145,7 +145,7 @@ class SendDocument(BaseClient):
|
|||||||
reply_to_msg_id=reply_to_message_id,
|
reply_to_msg_id=reply_to_message_id,
|
||||||
random_id=self.rnd_id(),
|
random_id=self.rnd_id(),
|
||||||
reply_markup=reply_markup.write() if reply_markup else None,
|
reply_markup=reply_markup.write() if reply_markup else None,
|
||||||
**await self.parser(caption, parse_mode)
|
**await self.parser.parse(caption, parse_mode)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
except FilePartMissing as e:
|
except FilePartMissing as e:
|
||||||
|
Reference in New Issue
Block a user