Disable link preview in help
This commit is contained in:
parent
7bcb2aed36
commit
70c62fb045
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ Based on DepyTG: https://github.com/Depaulicious/DepyTG"""
|
||||||
def send_help(token: AnyStr, msg: types.Message):
|
def send_help(token: AnyStr, msg: types.Message):
|
||||||
send_msg = methods.sendMessage(msg.chat.id, HELP_TEXT)
|
send_msg = methods.sendMessage(msg.chat.id, HELP_TEXT)
|
||||||
send_msg.reply_to_message_id = msg.message_id
|
send_msg.reply_to_message_id = msg.message_id
|
||||||
|
send_msg.disable_web_page_preview = True
|
||||||
send_msg(token)
|
send_msg(token)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue