Spaces:
Runtime error
Runtime error
Greg Thompson commited on
Commit ·
b439c42
1
Parent(s): bc7784b
Update to field for message API post request
Browse files40 unmodified lines41424344454647484950455152535433 unmodified lines888990859192939440 unmodified lines 'Authorization': f"Bearer {os.environ.get('TURN_AUTHENTICATION_TOKEN')}", 'Content-Type': 'application/json' }
whatsapp_id = data_json['message']['_vnd']['v1']['chat']['owner'].replace("+","")
print("DATA JSON") print(data_json)
data = { "to": data_json['message']['_vnd']['v1']['chat']['owner'], "to": whatsapp_id, # "to": "alan", "type": "interactive", "interactive": {33 unmodified lines print("Request Info") print(r) print("--") print(r.body) # print(r.body) print("==================")
mathtext_fastapi/conversation_manager.py+8-2