mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 11:29:38 +08:00
messenger.py
This commit is contained in:
@@ -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__':
|
||||||
|
|||||||
Reference in New Issue
Block a user