mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Disable webpage preview
This commit is contained in:
parent
9de4513290
commit
b5814bbeef
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue