[example] Send message and reply
This commit is contained in:
1 parent
3fdacbb6ac
commit
dab63e4060
1 file changed
+1
-1
@@ -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"
|
||||
Reference in new issue
Block a user