generated from pavel.muhortov/template-bash
fix telegram url building
This commit is contained in:
parent
cd26b947cf
commit
ebaa23a32d
|
@ -2865,7 +2865,7 @@ class Telegram:
|
|||
chat = chat.split('_')[0]
|
||||
url = self.api_path + '/send' + media_type + '?chat_id=' + chat
|
||||
if thrd:
|
||||
url = url + '?message_thread_id=' + thrd
|
||||
url = url + '&message_thread_id=' + thrd
|
||||
else:
|
||||
raise ValueError("'media_type' value is wrong: " + media_type)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user