update ptb version

This commit is contained in:
2024-04-26 15:49:52 +08:00
parent 0ffa9903c4
commit 755c405196
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
python-telegram-bot[webhooks]~=21.0.1
python-telegram-bot[webhooks]~=21.1.1
aiohttp[speedups]~=3.9.3
+2 -1
View File
@@ -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":