mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Update docs
This commit is contained in:
parent
afb48d5d31
commit
c3ca21f4ed
@ -7,7 +7,8 @@ Inline Bots
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
- If a bot accepts inline queries, you can call it by using
|
- If a bot accepts inline queries, you can call it by using
|
||||||
:obj:`get_inline_bot_results <pyrogram.Client.get_inline_bot_results>` to get the list of its inline results:
|
:obj:`get_inline_bot_results <pyrogram.Client.get_inline_bot_results>` to get the list of its inline results
|
||||||
|
for a query:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
@ -19,11 +19,11 @@ Usage
|
|||||||
username = <your_username>
|
username = <your_username>
|
||||||
password = <your_password>
|
password = <your_password>
|
||||||
|
|
||||||
- To enable or disable the proxy without deleting your settings from the config file,
|
To enable or disable the proxy without deleting your settings from the config file,
|
||||||
change the ``enabled`` value as follows:
|
change the ``enabled`` value as follows:
|
||||||
|
|
||||||
- ``1``, ``yes``, ``True`` or ``on``: Enables the proxy
|
- ``1``, ``yes``, ``True`` or ``on``: Enables the proxy
|
||||||
- ``0``, ``no``, ``False`` or ``off``: Disables the proxy
|
- ``0``, ``no``, ``False`` or ``off``: Disables the proxy
|
||||||
|
|
||||||
- Alternatively, you can setup your proxy without the need of the *config.ini* file by using the *proxy* parameter
|
- Alternatively, you can setup your proxy without the need of the *config.ini* file by using the *proxy* parameter
|
||||||
in the Client class:
|
in the Client class:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user