mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
parent
a37bbba38c
commit
baf31a531a
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ Usage example
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
from aiogram import Bot
|
from aiogram import Bot
|
||||||
from aiogram.session.aiohttp import AiohttpSession
|
from aiogram.client.session.aiohttp import AiohttpSession
|
||||||
|
|
||||||
session = AiohttpSession()
|
session = AiohttpSession()
|
||||||
bot = Bot('42:token', session=session)
|
bot = Bot('42:token', session=session)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue