mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 02:03:04 +00:00
Bump version, small changes in docs
This commit is contained in:
parent
2620a6547c
commit
1634dc1162
14 changed files with 67 additions and 31 deletions
|
|
@ -8,6 +8,7 @@ For example, if you want to use self-hosted API server:
|
|||
|
||||
.. code-block:: python3
|
||||
|
||||
session = AiohttpSession()
|
||||
session.api = TelegramAPIServer.from_base('http://localhost:8082')
|
||||
session = AiohttpSession(
|
||||
api=TelegramAPIServer.from_base('http://localhost:8082')
|
||||
)
|
||||
bot = Bot(..., session=session)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue