fix: Import InlineKeyboardButton, CallbackQueryHandler
This commit is contained in:
parent
eeec98303d
commit
1d92679c14
1 changed files with 6 additions and 2 deletions
|
|
@ -59,9 +59,13 @@ def _release_lock():
|
|||
except OSError:
|
||||
pass
|
||||
|
||||
from telegram import BotCommand, Update, ReplyKeyboardMarkup, KeyboardButton
|
||||
from telegram import (
|
||||
BotCommand, Update, ReplyKeyboardMarkup, KeyboardButton,
|
||||
InlineKeyboardButton, InlineKeyboardMarkup,
|
||||
)
|
||||
from telegram.ext import (
|
||||
Application, CommandHandler, MessageHandler, filters, ContextTypes,
|
||||
Application, CommandHandler, MessageHandler, CallbackQueryHandler,
|
||||
filters, ContextTypes,
|
||||
)
|
||||
|
||||
BOT_COMMANDS = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue