This commit is contained in:
2024-06-20 02:48:06 +08:00
parent 38adbf0cb8
commit ae1f5a8c8c
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ class TelegramTweet(Tweet):
)
@property
def pm_media_generator(self) -> Generator[InputMediaPhoto | InputMediaVideo | tuple[str, bool], None, None]:
def message_media_generator(self) -> Generator[InputMediaPhoto | InputMediaVideo | tuple[str, bool], None, None]:
for tweet_media in self.media:
logger.info(str(tweet_media))
if tweet_media.type == "image":