Disable link preview in help

This commit is contained in:
Davide Depau 2018-01-28 02:15:15 +01:00
parent 70c62fb045
commit a932ec71a4
Signed by: depau
GPG key ID: C7D999B6A55EFE86

View file

@ -14,7 +14,7 @@ Based on DepyTG: https://github.com/Depaulicious/DepyTG"""
def send_help(token: AnyStr, msg: types.Message):
send_msg = methods.sendMessage(msg.chat.id, HELP_TEXT)
send_msg.reply_to_message_id = msg.message_id
send_msg.disable_web_page_preview = True
send_msg["disable_web_page_preview"] = True
send_msg(token)