show link in telegram

This commit is contained in:
j 2023-08-20 21:10:19 +02:00
parent 6c22fa70de
commit c2988c0b2f

View file

@ -41,7 +41,7 @@ def announce_items():
preview_description=description,
)
if getattr(settings, "TELEGRAM_ANNOUNCE_CHANNEL"):
message = f'<a href="{link}">{item.title}</a>'
message = f'{item.title}<br><a href="{link}">{link}</a>'
r = telegram_rpc.send(
message,
channel=settings.TELEGRAM_ANNOUNCE_CHANNEL,