diff options
Diffstat (limited to 'callback.py')
-rw-r--r-- | callback.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/callback.py b/callback.py index 8c80028..687508a 100644 --- a/callback.py +++ b/callback.py | |||
@@ -4,14 +4,11 @@ from foursquare.poi import query_poi | |||
4 | from dbstore.dbm_store import get_loc | 4 | from dbstore.dbm_store import get_loc |
5 | from toot import mastodon_client | 5 | from toot import mastodon_client |
6 | from command import * | 6 | from command import * |
7 | from telegram import __version__ as TG_VER | ||
8 | from typing import cast, List | 7 | from typing import cast, List |
9 | from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update, ReplyKeyboardMarkup, KeyboardButton | 8 | from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove |
10 | from telegram.ext import Application, CallbackQueryHandler, CommandHandler, ContextTypes, MessageHandler, filters, \ | 9 | from telegram.ext import ContextTypes, ConversationHandler, CallbackContext |
11 | ConversationHandler, CallbackContext | ||
12 | from telegram.constants import ParseMode, ChatAction | 10 | from telegram.constants import ParseMode, ChatAction |
13 | from telegram.error import BadRequest | 11 | from telegram.error import BadRequest |
14 | from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove | ||
15 | 12 | ||
16 | 13 | ||
17 | async def callback_skip_media(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: | 14 | async def callback_skip_media(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: |