send a message
the Assistant ID.
The unique identity of user for the session.
The unique name for the session.
The query to ask the assistant.
The webhook url to call after the assistant has generated a response or report an error.
one of the modes 'chat', 'email' or 'voice'
OK
success or failure based on whether the request successfully generated a response.
If successful, this property will denote whether the response was flagged or not.
This property will denote whether the request was aborted or not.
The SID of the Account that sent the Message.
If successful, the body of the generated response
The error message if generation was not successful