The examples are not clear on how to use flask in conjunction with the new updater logic.
With the new Updater, I am supposed to use the method start_webhook pointing at an address, which I don't have since I am running flask with uwsgi.
uwsgi writes on a .sock file and then dispatches the requests to the flask workers.
In flask, the app behaves as a normal web service, I have a route setup to intercept my bot requests like this:
@webapp.route('/telegram/<token>', methods=['POST'])
def telegram_hook(token):
...
...
How am I supposed to use the new Updater logic with these premises?
The examples are not clear on how to use flask in conjunction with the new updater logic.
With the new Updater, I am supposed to use the method start_webhook pointing at an address, which I don't have since I am running flask with uwsgi.
uwsgi writes on a .sock file and then dispatches the requests to the flask workers.
In flask, the app behaves as a normal web service, I have a route setup to intercept my bot requests like this:
How am I supposed to use the new Updater logic with these premises?