From 855596c666d37ea9edac907d37cc14cdc9a76dba Mon Sep 17 00:00:00 2001 From: hkc Date: Fri, 26 Aug 2022 19:06:03 +0300 Subject: [PATCH] Fixed #8 (I think?) --- mastoposter/integrations/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoposter/integrations/telegram.py b/mastoposter/integrations/telegram.py index 9e24032..1d91c3d 100644 --- a/mastoposter/integrations/telegram.py +++ b/mastoposter/integrations/telegram.py @@ -77,7 +77,7 @@ class TelegramIntegration(BaseIntegration): disable_web_page_preview=True, chat_id=self.chat_id, caption=text, - **{self.MEDIA_MAPPING[media.type]: media.preview_url}, + **{self.MEDIA_MAPPING[media.type]: media.url}, ) async def _post_mediagroup(self, text: str, media: List[Attachment]) -> TGResponse: