lib/twilio-ruby/rest/api/v2010/account/call.rb in twilio-ruby-5.45.1 vs lib/twilio-ruby/rest/api/v2010/account/call.rb in twilio-ruby-5.46.0

- old
+ new

@@ -50,14 +50,14 @@ # @param [String] status_callback 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). - # @param [String] status_callback_event The call progress events that we will send - # to the `status_callback` URL. Can be: `initiated`, `ringing`, `answered`, and - # `completed`. If no event is specified, we send the `completed` status. If you - # want to receive multiple events, specify each one in a separate + # @param [Array[String]] status_callback_event The call progress events that we + # will send to the `status_callback` URL. Can be: `initiated`, `ringing`, + # `answered`, and `completed`. If no event is specified, we send the `completed` + # status. If you want to receive multiple events, specify each one in a separate # `status_callback_event` parameter. See the code sample for {monitoring call # progress}[https://www.twilio.com/docs/voice/api/call-resource?code-sample=code-create-a-call-resource-and-specify-a-statuscallbackevent&code-sdk-version=json]. # If an `application_sid` is present, this parameter is ignored. # @param [String] status_callback_method The HTTP method we should use when # calling the `status_callback` URL. Can be: `GET` or `POST` and the default is @@ -104,13 +104,13 @@ # ignored. For more information, see {Answering Machine # Detection}[https://www.twilio.com/docs/voice/answering-machine-detection]. # @param [String] machine_detection_timeout The number of seconds that we should # attempt to detect an answering machine before timing out and sending a voice # request with `AnsweredBy` of `unknown`. The default timeout is 30 seconds. - # @param [String] recording_status_callback_event The recording status events that - # will trigger calls to the URL specified in `recording_status_callback`. Can be: - # `in-progress`, `completed` and `absent`. Defaults to `completed`. Separate - # multiple values with a space. + # @param [Array[String]] recording_status_callback_event The recording status + # events that will trigger calls to the URL specified in + # `recording_status_callback`. Can be: `in-progress`, `completed` and `absent`. + # Defaults to `completed`. Separate multiple values with a space. # @param [String] trim Whether to trim any leading and trailing silence from the # recording. Can be: `trim-silence` or `do-not-trim` and the default is # `trim-silence`. # @param [String] caller_id The phone number, SIP address, or Client identifier # that made this call. Phone numbers are in {E.164 \ No newline at end of file