aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'command.py')
-rw-r--r--command.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/command.py b/command.py
index 753b0a2..09340fc 100644
--- a/command.py
+++ b/command.py
@@ -1,13 +1,8 @@
1from config import * 1from telegram import Update
2from telegram.constants import ParseMode
3from telegram.ext import ContextTypes, ConversationHandler
2 4
3from telegram import __version__ as TG_VER 5from config import *
4from typing import cast, List
5from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update, ReplyKeyboardMarkup, KeyboardButton
6from telegram.ext import Application, CallbackQueryHandler, CommandHandler, ContextTypes, MessageHandler, filters, \
7 ConversationHandler, CallbackContext
8from telegram.constants import ParseMode, ChatAction
9from telegram.error import BadRequest
10from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove
11 6
12 7
13async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: 8async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
Powered by cgit v1.2.3 (git 2.41.0)