messenger.py

This commit is contained in:
BennyThink
2020-09-10 22:37:40 +08:00
parent b1f9c7b58e
commit b0336a742d

View File

@@ -15,7 +15,8 @@ def send_msg(argv):
uid = argv[1] uid = argv[1]
msg = argv[2] msg = argv[2]
bot.send_chat_action(uid, 'typing') bot.send_chat_action(uid, 'typing')
bot.send_message(uid, msg, parse_mode='html') response = bot.send_message(uid, msg, parse_mode='markdown')
print(response)
if __name__ == '__main__': if __name__ == '__main__':