Skip to content

Commit 87a9cc2

Browse files
committed
docs
1 parent 3b683f9 commit 87a9cc2

File tree

61 files changed

+116
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+116
-85
lines changed

docs/source/releases/changes-in-this-fork.rst

Lines changed: 1 addition & 0 deletions

pyrogram/methods/advanced/invoke.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async def invoke(
6868
``RawType``: The raw type response generated by the query.
6969
7070
Raises:
71-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
71+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
7272
7373
"""
7474
if not self.is_connected:

pyrogram/methods/advanced/save_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async def save_file(
9090
``InputFile``: On success, the uploaded file is returned in form of an InputFile object.
9191
9292
Raises:
93-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
93+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
9494
9595
"""
9696
if path is None:

pyrogram/methods/auth/accept_terms_of_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async def accept_terms_of_service(
3434
The terms of service identifier.
3535
3636
Raises:
37-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
37+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
3838
3939
"""
4040
r = await self.invoke(

pyrogram/methods/auth/check_password.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def check_password(
4444
4545
Raises:
4646
BadRequest: In case the password is invalid.
47-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
47+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
4848
4949
"""
5050
r = await self.invoke(

pyrogram/methods/auth/get_active_sessions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async def get_active_sessions(
3232
:obj:`~pyrogram.types.ActiveSessions`: On success, all the active sessions of the current user is returned.
3333
3434
Raises:
35-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
35+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
3636
3737
"""
3838
r = await self.invoke(

pyrogram/methods/auth/get_password_hint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def get_password_hint(
3636
``str``: On success, the password hint as string is returned.
3737
3838
Raises:
39-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
39+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
4040
4141
"""
4242
return (await self.invoke(raw.functions.account.GetPassword())).hint

pyrogram/methods/auth/log_out.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async def log_out(
3939
``bool``: On success, True is returned.
4040
4141
Raises:
42-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
42+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
4343
4444
Example:
4545
.. code-block:: python

pyrogram/methods/auth/recover_password.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def recover_password(
4444
4545
Raises:
4646
BadRequest: In case the recovery code is invalid.
47-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
47+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
4848
4949
"""
5050
r = await self.invoke(

pyrogram/methods/auth/resend_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def resend_code(
5151
5252
Raises:
5353
BadRequest: In case the arguments are invalid.
54-
:doc:`RPCError <../../start/errors>`: In case of a Telegram RPC error.
54+
:obj:`~pyrogram.errors.RPCError`: In case of a Telegram RPC error.
5555
5656
"""
5757
phone_number = phone_number.strip(" +")

0 commit comments

Comments
 (0)