arugaz / whatsapp-bot

Whatsapp Bot Multi Device - Node Js - Internationalization
GNU General Public License v3.0
607 stars 799 forks source link

F #502

Closed JezebellaJess closed 1 month ago

JezebellaJess commented 1 month ago

from twilio.rest import Client from flask import Flask, request, redirect from twilio.twiml.messaging_response import MessagingResponse

app = Flask(name)

@app.route("/webhook", methods=['POST']) def webhook(): body = request.values.get('Body', None)

   resp = MessagingResponse()
   resp.message("You said: {}".format(body))

   return str(resp)

if name == "main": app.run(debug=True)

Originally posted by @Alunicstar in https://github.com/green-api/whatsapp-api-client-python/issues/61#issuecomment-2254236528

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days