Compare commits

..

1 commit

Author SHA1 Message Date
Aryn
dd3f6e1245
Merge 42e9410aad into cf6141feb4 2025-07-11 05:37:18 +03:00

View file

@ -80,20 +80,7 @@ Using async_pymongo (Recommended for python3.9+):
print(await app.get_me())
Using official mongodb driver:
.. code-block:: python
from pymongo import AsyncMongoClient
from pyrogram import Client
conn = AsyncMongoClient("mongodb://...")
async with Client("my_account", mongodb=dict(connection=conn, remove_peers=False)) as app:
print(await app.get_me())
Using motor (Deprecated, but still works):
Using motor:
.. code-block:: python