Disable link preview in help

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

View file

@ -14,6 +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(token)