diff options
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -1,13 +1,8 @@ | |||
1 | from config import * | 1 | from telegram import Update |
2 | from telegram.constants import ParseMode | ||
3 | from telegram.ext import ContextTypes, ConversationHandler | ||
2 | 4 | ||
3 | from telegram import __version__ as TG_VER | 5 | from config import * |
4 | from typing import cast, List | ||
5 | from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update, ReplyKeyboardMarkup, KeyboardButton | ||
6 | from telegram.ext import Application, CallbackQueryHandler, CommandHandler, ContextTypes, MessageHandler, filters, \ | ||
7 | ConversationHandler, CallbackContext | ||
8 | from telegram.constants import ParseMode, ChatAction | ||
9 | from telegram.error import BadRequest | ||
10 | from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove | ||
11 | 6 | ||
12 | 7 | ||
13 | async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: | 8 | async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: |