disable webpage preview
This commit is contained in:
parent
3358f0b5ca
commit
e5577ec887
@ -65,7 +65,8 @@ def send_message():
|
|||||||
parameters = {
|
parameters = {
|
||||||
'chat_id': chat_id,
|
'chat_id': chat_id,
|
||||||
'text': message,
|
'text': message,
|
||||||
'parse_mode': 'HTML'
|
'parse_mode': 'HTML',
|
||||||
|
'disable_web_page_preview': True
|
||||||
}
|
}
|
||||||
|
|
||||||
request = requests.get(link, params = parameters)
|
request = requests.get(link, params = parameters)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user