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