mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update mw.py
This commit is contained in:
@@ -1709,10 +1709,8 @@ def tgbotNotifyMessage(app_token, chat_id, msg):
|
||||
|
||||
|
||||
def tgbotNotifyTest(app_token, chat_id):
|
||||
# return tgbotNotifyMessage(app_token, chat_id, 'MW-通知验证测试OK')
|
||||
msg = 'MW-通知验证测试OK'
|
||||
try:
|
||||
|
||||
url = 'https://api.telegram.org/bot' + app_token + '/sendMessage'
|
||||
post_data = {
|
||||
'chat_id': chat_id,
|
||||
|
||||
Reference in New Issue
Block a user