diff --git a/requirements.txt b/requirements.txt index e32d26d..e652afe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -python-telegram-bot[webhooks]~=21.0.1 +python-telegram-bot[webhooks]~=21.1.1 aiohttp[speedups]~=3.9.3 \ No newline at end of file diff --git a/tweet.py b/tweet.py index 71d35f5..7ca2bdf 100644 --- a/tweet.py +++ b/tweet.py @@ -190,7 +190,8 @@ class TGTweet(Tweet): @property def inline_query_generator(self) -> Generator[ - InlineQueryResultPhoto | InlineQueryResultVideo | InlineQueryResultMpeg4Gif, None, None]: + InlineQueryResultPhoto | InlineQueryResultVideo | InlineQueryResultMpeg4Gif, None, None + ]: for i, tweet_media in enumerate(self.media): logger.info(str(tweet_media)) if tweet_media.type == "image":