forked from hkc/mastoposter
Fixed #8 (I think?)
This commit is contained in:
parent
8088cca8f0
commit
855596c666
|
@ -77,7 +77,7 @@ class TelegramIntegration(BaseIntegration):
|
||||||
disable_web_page_preview=True,
|
disable_web_page_preview=True,
|
||||||
chat_id=self.chat_id,
|
chat_id=self.chat_id,
|
||||||
caption=text,
|
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:
|
async def _post_mediagroup(self, text: str, media: List[Attachment]) -> TGResponse:
|
||||||
|
|
Loading…
Reference in New Issue