[example] Send message and reply

This commit is contained in:
allburov committed 2023-08-06 18:02:36 +03:00
1 parent 3fdacbb6ac
commit dab63e4060
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ def whatsapp_webhook():
# Send a text back via WhatsApp HTTP API
send_message(chat_id=chat_id, text=text)
# OR reply on the message
# reply(chat_id=chat_id, message_id=message_id, text=text)
reply(chat_id=chat_id, message_id=message_id, text=text)
# Send OK back
return "OK"