pub struct UpdateCallParams {
pub account_sid: String,
pub sid: String,
pub url: Option<String>,
pub method: Option<String>,
pub status: Option<String>,
pub fallback_url: Option<String>,
pub fallback_method: Option<String>,
pub status_callback: Option<String>,
pub status_callback_method: Option<String>,
pub twiml: Option<String>,
pub time_limit: Option<i32>,
}
Expand description
struct for passing parameters to the method update_call
Fields§
§account_sid: String
The SID of the Account that created the Call resource(s) to update.
sid: String
The Twilio-provided string that uniquely identifies the Call resource to update
url: Option<String>
The absolute URL that returns the TwiML instructions for the call. We will call this URL using the method
when the call connects. For more information, see the Url Parameter section in Making Calls.
method: Option<String>
The HTTP method we should use when calling the url
. Can be: GET
or POST
and the default is POST
. If an application_sid
parameter is present, this parameter is ignored.
status: Option<String>
§fallback_url: Option<String>
The URL that we call using the fallback_method
if an error occurs when requesting or executing the TwiML at url
. If an application_sid
parameter is present, this parameter is ignored.
fallback_method: Option<String>
The HTTP method that we should use to request the fallback_url
. Can be: GET
or POST
and the default is POST
. If an application_sid
parameter is present, this parameter is ignored.
status_callback: Option<String>
The URL we should call using the status_callback_method
to send status information to your application. If no status_callback_event
is specified, we will send the completed
status. If an application_sid
parameter is present, this parameter is ignored. URLs must contain a valid hostname (underscores are not permitted).
status_callback_method: Option<String>
The HTTP method we should use when requesting the status_callback
URL. Can be: GET
or POST
and the default is POST
. If an application_sid
parameter is present, this parameter is ignored.
twiml: Option<String>
TwiML instructions for the call Twilio will use without fetching Twiml from url. Twiml and url parameters are mutually exclusive
time_limit: Option<i32>
The maximum duration of the call in seconds. Constraints depend on account and configuration.
Trait Implementations§
Source§impl Clone for UpdateCallParams
impl Clone for UpdateCallParams
Source§fn clone(&self) -> UpdateCallParams
fn clone(&self) -> UpdateCallParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more