редактирование сообщения авторизации
This commit is contained in:
@@ -15,6 +15,7 @@ from .analytics.get_overview_analytics import get_overview_analytics
|
||||
from .analytics.get_placements_analytics import get_placements_analytics
|
||||
from .analytics.get_projects_analytics import get_projects_analytics
|
||||
from .analytics.get_spending_analytics import get_spending_analytics
|
||||
from .auth.attach_login_token_message import attach_login_token_message
|
||||
from .auth.create_telegram_login_token import create_telegram_login_token
|
||||
from .auth.get_jwt_by_telegram_id import get_jwt_by_telegram_id
|
||||
from .auth.get_me import get_me
|
||||
@@ -62,6 +63,8 @@ class TelegramBotWriter(typing.Protocol):
|
||||
self, text: str, chat_id: int, buttons: list[list['InlineKeyboardButton']]
|
||||
) -> None: ...
|
||||
|
||||
async def edit_message_text(self, text: str, chat_id: int, message_id: int) -> None: ...
|
||||
|
||||
async def edit_message_reply_markup(self, chat_id: int, message_id: int) -> None: ...
|
||||
|
||||
async def create_chat_invite_link(self, chat_id: int, requires_approval: bool = False) -> str: ...
|
||||
@@ -145,6 +148,7 @@ class Usecase:
|
||||
|
||||
validate_login_token = validate_login_token
|
||||
create_telegram_login_token = create_telegram_login_token
|
||||
attach_login_token_message = attach_login_token_message
|
||||
get_jwt_by_telegram_id = get_jwt_by_telegram_id
|
||||
get_me = get_me
|
||||
tg_add_project = tg_add_project
|
||||
|
||||
Reference in New Issue
Block a user