mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Dev 3.x flat package (#961)
* Move packages * Added changelog * Update examples/echo_bot.py Co-authored-by: Oleg A. <t0rr@mail.ru> * Rename `handler` -> `handlers` * Update __init__.py Co-authored-by: Oleg A. <t0rr@mail.ru>
This commit is contained in:
parent
5e7932ca20
commit
4315ecf1a2
111 changed files with 376 additions and 390 deletions
|
|
@ -6,16 +6,16 @@ from finite_state_machine import form_router
|
|||
|
||||
from aiogram import Bot, Dispatcher, F, Router
|
||||
from aiogram.client.session.aiohttp import AiohttpSession
|
||||
from aiogram.dispatcher.filters import Command, CommandObject
|
||||
from aiogram.dispatcher.fsm.storage.redis import DefaultKeyBuilder, RedisStorage
|
||||
from aiogram.dispatcher.webhook.aiohttp_server import (
|
||||
from aiogram.exceptions import TelegramUnauthorizedError
|
||||
from aiogram.filters import Command, CommandObject
|
||||
from aiogram.fsm.storage.redis import DefaultKeyBuilder, RedisStorage
|
||||
from aiogram.types import Message
|
||||
from aiogram.utils.token import TokenValidationError, validate_token
|
||||
from aiogram.webhook.aiohttp_server import (
|
||||
SimpleRequestHandler,
|
||||
TokenBasedRequestHandler,
|
||||
setup_application,
|
||||
)
|
||||
from aiogram.exceptions import TelegramUnauthorizedError
|
||||
from aiogram.types import Message
|
||||
from aiogram.utils.token import TokenValidationError, validate_token
|
||||
|
||||
main_router = Router()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue