Skip to content

Commit

Permalink
[example] Send message and reply
Browse files Browse the repository at this point in the history
  • Loading branch information
allburov committed Aug 6, 2023
1 parent 3fdacbb commit dab63e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/whatsapp_echo_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit dab63e4

Please sign in to comment.