show link in telegram
This commit is contained in:
parent
6c22fa70de
commit
c2988c0b2f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue