fix imports
This commit is contained in:
parent
0dd5719169
commit
5bc8ff4c70
3 changed files with 21 additions and 3 deletions
|
|
@ -3,3 +3,7 @@ Telegram Bridge.
|
|||
|
||||
Provides a bridge between Telegram API and HTTP API for sending and receiving messages.
|
||||
"""
|
||||
|
||||
from api import TelegramApiClient
|
||||
from database import init_db
|
||||
|
||||
|
|
|
|||
|
|
@ -3,3 +3,13 @@ API module for Telegram interaction.
|
|||
|
||||
Provides client, middleware, and models for interacting with the Telegram API.
|
||||
"""
|
||||
|
||||
from api.client import TelegramApiClient
|
||||
from api.middleware import TelegramMiddleware, handle_telegram_errors
|
||||
from api.models import (
|
||||
ChatModel,
|
||||
MessageModel,
|
||||
MessageContextModel,
|
||||
SendMessageRequest,
|
||||
SendMessageResponse
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,3 +3,7 @@ Database module for the Telegram bridge.
|
|||
|
||||
Provides ORM models, connection management, and repositories for data access.
|
||||
"""
|
||||
|
||||
from database.base import init_db, get_session
|
||||
from database.models import Chat, Message
|
||||
from database.repositories import ChatRepository, MessageRepository
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue