1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Disable webpage preview

This commit is contained in:
Steffo 2019-02-03 19:58:53 +01:00
parent 9de4513290
commit b5814bbeef

View file

@ -322,6 +322,7 @@ def page_wiki_lock(key: str):
key=key,
user=fl_g.user.username),
parse_mode="HTML",
disable_web_page_preview=True,
disable_notification=True)
else:
telegram_bot.send_message(config["Telegram"]["main_group"],
@ -329,6 +330,7 @@ def page_wiki_lock(key: str):
key=key,
user=fl_g.user.username),
parse_mode="HTML",
disable_web_page_preview=True,
disable_notification=True)
except Exception:
pass