mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
fix external bsky media (disable)
This commit is contained in:
+9
-8
@@ -258,14 +258,15 @@ class TelegramBsky:
|
||||
# )
|
||||
yield
|
||||
elif bsky_media.type == "external":
|
||||
yield InlineQueryResultVideo(
|
||||
id=str(uuid4()),
|
||||
video_url=bsky_media.url,
|
||||
mime_type="image/gif",
|
||||
thumbnail_url=bsky_media.thumb,
|
||||
title=bsky.text,
|
||||
caption=self.message_text
|
||||
)
|
||||
# yield InlineQueryResultVideo(
|
||||
# id=str(uuid4()),
|
||||
# video_url=bsky_media.url,
|
||||
# mime_type="image/gif",
|
||||
# thumbnail_url=bsky_media.thumb,
|
||||
# title=bsky.text,
|
||||
# caption=self.message_text
|
||||
# )
|
||||
yield
|
||||
|
||||
def message_media_generator(self) -> Generator[TypeMessageMediaResult, None, None]:
|
||||
bsky = self._bsky
|
||||
|
||||
Reference in New Issue
Block a user