class Twilio::CallsApi

Defined in:

twilio/api/calls_api.cr

Constant Summary

CREATE_CALL_FEEDBACK_SUMMARY_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_CALL_FEEDBACK_SUMMARY_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_CALL_FEEDBACK_SUMMARY_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
CREATE_CALL_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_CALL_MAX_LENGTH_FOR_APPLICATION_SID = 34
CREATE_CALL_MAX_LENGTH_FOR_BYOC = 34
CREATE_CALL_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_CALL_MIN_LENGTH_FOR_APPLICATION_SID = 34
CREATE_CALL_MIN_LENGTH_FOR_BYOC = 34
CREATE_CALL_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
CREATE_CALL_PATTERN_FOR_APPLICATION_SID = /^AP[0-9a-fA-F]{32}$/
CREATE_CALL_PATTERN_FOR_BYOC = /^BY[0-9a-fA-F]{32}$/
CREATE_CALL_RECORDING_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_CALL_RECORDING_MAX_LENGTH_FOR_CALL_SID = 34
CREATE_CALL_RECORDING_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_CALL_RECORDING_MIN_LENGTH_FOR_CALL_SID = 34
CREATE_CALL_RECORDING_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
CREATE_CALL_RECORDING_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
CREATE_PAYMENTS_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_PAYMENTS_MAX_LENGTH_FOR_CALL_SID = 34
CREATE_PAYMENTS_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_PAYMENTS_MIN_LENGTH_FOR_CALL_SID = 34
CREATE_PAYMENTS_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
CREATE_PAYMENTS_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
CREATE_USER_DEFINED_MESSAGE_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_USER_DEFINED_MESSAGE_MAX_LENGTH_FOR_CALL_SID = 34
CREATE_USER_DEFINED_MESSAGE_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_USER_DEFINED_MESSAGE_MIN_LENGTH_FOR_CALL_SID = 34
CREATE_USER_DEFINED_MESSAGE_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
CREATE_USER_DEFINED_MESSAGE_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
CREATE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MAX_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MAX_LENGTH_FOR_CALL_SID = 34
CREATE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MIN_LENGTH_FOR_ACCOUNT_SID = 34
CREATE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MIN_LENGTH_FOR_CALL_SID = 34
CREATE_USER_DEFINED_MESSAGE_SUBSCRIPTION_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
CREATE_USER_DEFINED_MESSAGE_SUBSCRIPTION_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
DELETE_CALL_FEEDBACK_SUMMARY_MAX_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_CALL_FEEDBACK_SUMMARY_MAX_LENGTH_FOR_SID = 34
DELETE_CALL_FEEDBACK_SUMMARY_MIN_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_CALL_FEEDBACK_SUMMARY_MIN_LENGTH_FOR_SID = 34
DELETE_CALL_FEEDBACK_SUMMARY_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
DELETE_CALL_FEEDBACK_SUMMARY_PATTERN_FOR_SID = /^FS[0-9a-fA-F]{32}$/
DELETE_CALL_MAX_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_CALL_MAX_LENGTH_FOR_SID = 34
DELETE_CALL_MIN_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_CALL_MIN_LENGTH_FOR_SID = 34
DELETE_CALL_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
DELETE_CALL_PATTERN_FOR_SID = /^CA[0-9a-fA-F]{32}$/
DELETE_CALL_RECORDING_MAX_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_CALL_RECORDING_MAX_LENGTH_FOR_CALL_SID = 34
DELETE_CALL_RECORDING_MAX_LENGTH_FOR_SID = 34
DELETE_CALL_RECORDING_MIN_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_CALL_RECORDING_MIN_LENGTH_FOR_CALL_SID = 34
DELETE_CALL_RECORDING_MIN_LENGTH_FOR_SID = 34
DELETE_CALL_RECORDING_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
DELETE_CALL_RECORDING_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
DELETE_CALL_RECORDING_PATTERN_FOR_SID = /^RE[0-9a-fA-F]{32}$/
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MAX_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MAX_LENGTH_FOR_CALL_SID = 34
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MAX_LENGTH_FOR_SID = 34
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MIN_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MIN_LENGTH_FOR_CALL_SID = 34
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_MIN_LENGTH_FOR_SID = 34
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
DELETE_USER_DEFINED_MESSAGE_SUBSCRIPTION_PATTERN_FOR_SID = /^ZY[0-9a-fA-F]{32}$/
FETCH_CALL_FEEDBACK_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_FEEDBACK_MAX_LENGTH_FOR_CALL_SID = 34
FETCH_CALL_FEEDBACK_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_FEEDBACK_MIN_LENGTH_FOR_CALL_SID = 34
FETCH_CALL_FEEDBACK_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_CALL_FEEDBACK_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
FETCH_CALL_FEEDBACK_SUMMARY_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_FEEDBACK_SUMMARY_MAX_LENGTH_FOR_SID = 34
FETCH_CALL_FEEDBACK_SUMMARY_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_FEEDBACK_SUMMARY_MIN_LENGTH_FOR_SID = 34
FETCH_CALL_FEEDBACK_SUMMARY_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_CALL_FEEDBACK_SUMMARY_PATTERN_FOR_SID = /^FS[0-9a-fA-F]{32}$/
FETCH_CALL_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_MAX_LENGTH_FOR_SID = 34
FETCH_CALL_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_MIN_LENGTH_FOR_SID = 34
FETCH_CALL_NOTIFICATION_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_NOTIFICATION_MAX_LENGTH_FOR_CALL_SID = 34
FETCH_CALL_NOTIFICATION_MAX_LENGTH_FOR_SID = 34
FETCH_CALL_NOTIFICATION_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_NOTIFICATION_MIN_LENGTH_FOR_CALL_SID = 34
FETCH_CALL_NOTIFICATION_MIN_LENGTH_FOR_SID = 34
FETCH_CALL_NOTIFICATION_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_CALL_NOTIFICATION_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
FETCH_CALL_NOTIFICATION_PATTERN_FOR_SID = /^NO[0-9a-fA-F]{32}$/
FETCH_CALL_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_CALL_PATTERN_FOR_SID = /^CA[0-9a-fA-F]{32}$/
FETCH_CALL_RECORDING_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_RECORDING_MAX_LENGTH_FOR_CALL_SID = 34
FETCH_CALL_RECORDING_MAX_LENGTH_FOR_SID = 34
FETCH_CALL_RECORDING_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_CALL_RECORDING_MIN_LENGTH_FOR_CALL_SID = 34
FETCH_CALL_RECORDING_MIN_LENGTH_FOR_SID = 34
FETCH_CALL_RECORDING_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_CALL_RECORDING_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
FETCH_CALL_RECORDING_PATTERN_FOR_SID = /^RE[0-9a-fA-F]{32}$/
LIST_CALL_EVENT_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_CALL_EVENT_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_EVENT_MAX_LENGTH_FOR_CALL_SID = 34
LIST_CALL_EVENT_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_CALL_EVENT_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_EVENT_MIN_LENGTH_FOR_CALL_SID = 34
LIST_CALL_EVENT_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
LIST_CALL_EVENT_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
LIST_CALL_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_CALL_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_MAX_LENGTH_FOR_PARENT_CALL_SID = 34
LIST_CALL_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_CALL_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_MIN_LENGTH_FOR_PARENT_CALL_SID = 34
LIST_CALL_NOTIFICATION_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_CALL_NOTIFICATION_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_NOTIFICATION_MAX_LENGTH_FOR_CALL_SID = 34
LIST_CALL_NOTIFICATION_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_CALL_NOTIFICATION_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_NOTIFICATION_MIN_LENGTH_FOR_CALL_SID = 34
LIST_CALL_NOTIFICATION_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
LIST_CALL_NOTIFICATION_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
LIST_CALL_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
LIST_CALL_PATTERN_FOR_PARENT_CALL_SID = /^CA[0-9a-fA-F]{32}$/
LIST_CALL_RECORDING_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_CALL_RECORDING_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_RECORDING_MAX_LENGTH_FOR_CALL_SID = 34
LIST_CALL_RECORDING_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_CALL_RECORDING_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_CALL_RECORDING_MIN_LENGTH_FOR_CALL_SID = 34
LIST_CALL_RECORDING_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
LIST_CALL_RECORDING_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
UPDATE_CALL_FEEDBACK_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_CALL_FEEDBACK_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_CALL_FEEDBACK_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_CALL_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_CALL_MAX_LENGTH_FOR_SID = 34
UPDATE_CALL_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_CALL_MIN_LENGTH_FOR_SID = 34
UPDATE_CALL_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_CALL_PATTERN_FOR_SID = /^CA[0-9a-fA-F]{32}$/
UPDATE_CALL_RECORDING_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_CALL_RECORDING_MAX_LENGTH_FOR_CALL_SID = 34
UPDATE_CALL_RECORDING_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_CALL_RECORDING_MIN_LENGTH_FOR_CALL_SID = 34
UPDATE_CALL_RECORDING_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_CALL_RECORDING_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
UPDATE_PAYMENTS_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_PAYMENTS_MAX_LENGTH_FOR_CALL_SID = 34
UPDATE_PAYMENTS_MAX_LENGTH_FOR_SID = 34
UPDATE_PAYMENTS_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_PAYMENTS_MIN_LENGTH_FOR_CALL_SID = 34
UPDATE_PAYMENTS_MIN_LENGTH_FOR_SID = 34
UPDATE_PAYMENTS_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_PAYMENTS_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
UPDATE_PAYMENTS_PATTERN_FOR_SID = /^PK[0-9a-fA-F]{32}$/
UPDATE_SIPREC_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_SIPREC_MAX_LENGTH_FOR_CALL_SID = 34
UPDATE_SIPREC_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_SIPREC_MIN_LENGTH_FOR_CALL_SID = 34
UPDATE_SIPREC_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_SIPREC_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/
UPDATE_STREAM_MAX_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_STREAM_MAX_LENGTH_FOR_CALL_SID = 34
UPDATE_STREAM_MIN_LENGTH_FOR_ACCOUNT_SID = 34
UPDATE_STREAM_MIN_LENGTH_FOR_CALL_SID = 34
UPDATE_STREAM_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
UPDATE_STREAM_PATTERN_FOR_CALL_SID = /^CA[0-9a-fA-F]{32}$/

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_client : Twilio::ApiClient = ApiClient.default) #

[View source]

Instance Method Detail

def account_sid : String #

[View source]
def account_sid=(account_sid : String) #

[View source]
def api_client : ApiClient #

[View source]
def api_client=(api_client : ApiClient) #

[View source]
def build_api_request_for_create_call(*, account_sid : String | Nil = @account_sid, from : String | Nil = nil, to : String | Nil = nil, application_sid : String | Nil = nil, async_amd : String | Nil = nil, async_amd_status_callback : String | Nil = nil, async_amd_status_callback_method : Twilio::HttpMethod | Nil = nil, byoc : String | Nil = nil, call_reason : String | Nil = nil, call_token : String | Nil = nil, caller_id : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, machine_detection : String | Nil = nil, machine_detection_silence_timeout : Int32 | Nil = nil, machine_detection_speech_end_threshold : Int32 | Nil = nil, machine_detection_speech_threshold : Int32 | Nil = nil, machine_detection_timeout : Int32 | Nil = nil, method : Twilio::HttpMethod | Nil = nil, record : Bool | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, send_digits : String | Nil = nil, sip_auth_password : String | Nil = nil, sip_auth_username : String | Nil = nil, status_callback : String | Nil = nil, status_callback_event : Array(String) | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, timeout : Int32 | Nil = nil, trim : String | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_create_call_feedback_summary(*, account_sid : String | Nil = @account_sid, end_date : Time | Nil = nil, start_date : Time | Nil = nil, include_subaccounts : Bool | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_create_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, trim : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_create_payments(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, bank_account_type : Twilio::PaymentsEnumBankAccountType | Nil = nil, charge_amount : Float64 | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, input : String | Nil = nil, min_postal_code_length : Int32 | Nil = nil, parameter : String | Nil = nil, payment_connector : String | Nil = nil, payment_method : Twilio::PaymentsEnumPaymentMethod | Nil = nil, postal_code : Bool | Nil = nil, security_code : Bool | Nil = nil, timeout : Int32 | Nil = nil, token_type : Twilio::PaymentsEnumTokenType | Nil = nil, valid_card_types : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_create_user_defined_message(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, content : String | Nil = nil, idempotency_key : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_create_user_defined_message_subscription(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, callback : String | Nil = nil, idempotency_key : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_delete_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_delete_call_feedback_summary(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_delete_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_delete_user_defined_message_subscription(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fetch_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fetch_call_feedback(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fetch_call_feedback_summary(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fetch_call_notification(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fetch_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_list_call(*, account_sid : String | Nil = @account_sid, to : String | Nil = nil, from : String | Nil = nil, parent_call_sid : String | Nil = nil, status : Twilio::CallEnumStatus | Nil = nil, start_time : Time | Nil = nil, start_time_before : Time | Nil = nil, start_time_after : Time | Nil = nil, end_time : Time | Nil = nil, end_time_before : Time | Nil = nil, end_time_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_list_call_event(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, page_size : Int32 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_list_call_notification(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, log : Int32 | Nil = nil, message_date : Time | Nil = nil, message_date_before : Time | Nil = nil, message_date_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_list_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, date_created : Time | Nil = nil, date_created_before : Time | Nil = nil, date_created_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_update_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil, status : Twilio::CallEnumUpdateStatus | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_update_call_feedback(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, issue : Array(CallFeedbackEnumIssues) | Nil = nil, quality_score : Int32 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_update_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::CallRecordingEnumStatus | Nil = nil, pause_behavior : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_update_payments(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, capture : Twilio::PaymentsEnumCapture | Nil = nil, status : Twilio::PaymentsEnumStatus | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_update_siprec(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_update_stream(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def client_side_validation?(*args, **options) #

[View source]
def client_side_validation?(*args, **options, &) #

[View source]
def create_call(*, account_sid : String | Nil = @account_sid, from : String | Nil = nil, to : String | Nil = nil, application_sid : String | Nil = nil, async_amd : String | Nil = nil, async_amd_status_callback : String | Nil = nil, async_amd_status_callback_method : Twilio::HttpMethod | Nil = nil, byoc : String | Nil = nil, call_reason : String | Nil = nil, call_token : String | Nil = nil, caller_id : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, machine_detection : String | Nil = nil, machine_detection_silence_timeout : Int32 | Nil = nil, machine_detection_speech_end_threshold : Int32 | Nil = nil, machine_detection_speech_threshold : Int32 | Nil = nil, machine_detection_timeout : Int32 | Nil = nil, method : Twilio::HttpMethod | Nil = nil, record : Bool | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, send_digits : String | Nil = nil, sip_auth_password : String | Nil = nil, sip_auth_username : String | Nil = nil, status_callback : String | Nil = nil, status_callback_event : Array(String) | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, timeout : Int32 | Nil = nil, trim : String | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil) : Twilio::Call #

Create a new outgoing call to phones, SIP-enabled endpoints or Twilio Client connections @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param from [String?] The phone number or client identifier to use as the caller id. If using a phone number, it must be a Twilio number or a Verified outgoing caller id for your account. If the to parameter is a phone number, From must also be a phone number. @required @param to [String?] The phone number, SIP address, or client identifier to call. @optional @param application_sid [String?] The SID of the Application resource that will handle the call, if the call will be handled by an application. @optional @param async_amd [String?] Select whether to perform answering machine detection in the background. Default, blocks the execution of the call until Answering Machine Detection is completed. Can be: true or false. @optional @param async_amd_status_callback [String?] The URL that we should call using the async_amd_status_callback_method to notify customer application whether the call was answered by human, machine or fax. @optional @param async_amd_status_callback_method [Twilio::HttpMethod?] @optional @param byoc [String?] The SID of a BYOC (Bring Your Own Carrier) trunk to route this call with. Note that byoc is only meaningful when to is a phone number; it will otherwise be ignored. (Beta) @optional @param call_reason [String?] The Reason for the outgoing call. Use it to specify the purpose of the call that is presented on the called party's phone. (Branded Calls Beta) @optional @param call_token [String?] A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call. @optional @param caller_id [String?] The phone number, SIP address, or Client identifier that made this call. Phone numbers are in E.164 format (e.g., +16175551212). SIP addresses are formatted as [email protected]. @optional @param fallback_method [Twilio::HttpMethod?] @optional @param fallback_url [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. @optional @param machine_detection [String?] Whether to detect if a human, answering machine, or fax has picked up the call. Can be: Enable or DetectMessageEnd. Use Enable if you would like us to return AnsweredBy as soon as the called party is identified. Use DetectMessageEnd, if you would like to leave a message on an answering machine. If send_digits is provided, this parameter is ignored. For more information, see Answering Machine Detection. @optional @param machine_detection_silence_timeout [Int32?] The number of milliseconds of initial silence after which an unknown AnsweredBy result will be returned. Possible Values: 2000-10000. Default: 5000. @optional @param machine_detection_speech_end_threshold [Int32?] The number of milliseconds of silence after speech activity at which point the speech activity is considered complete. Possible Values: 500-5000. Default: 1200. @optional @param machine_detection_speech_threshold [Int32?] The number of milliseconds that is used as the measuring stick for the length of the speech activity, where durations lower than this value will be interpreted as a human and longer than this value as a machine. Possible Values: 1000-6000. Default: 2400. @optional @param machine_detection_timeout [Int32?] 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. @optional @param method [Twilio::HttpMethod?] @optional @param record [Bool?] Whether to record the call. Can be true to record the phone call, or false to not. The default is false. The recording_url is sent to the status_callback URL. @optional @param recording_channels [String?] The number of channels in the final recording. Can be: mono or dual. The default is mono. mono records both legs of the call in a single channel of the recording file. dual records each leg to a separate channel of the recording file. The first channel of a dual-channel recording contains the parent call and the second channel contains the child call. @optional @param recording_status_callback [String?] The URL that we call when the recording is available to be accessed. @optional @param recording_status_callback_event [Array(String)?] 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. @optional @param recording_status_callback_method [Twilio::HttpMethod?] @optional @param recording_track [String?] The audio track to record for the call. Can be: inbound, outbound or both. The default is both. inbound records the audio that is received by Twilio. outbound records the audio that is generated from Twilio. both records the audio that is received and generated by Twilio. @optional @param send_digits [String?] A string of keys to dial after connecting to the number, maximum of 32 digits. Valid digits in the string include: any digit (0-9), '#', '*' and 'w', to insert a half second pause. For example, if you connected to a company phone number and wanted to pause for one second, and then dial extension 1234 followed by the pound key, the value of this parameter would be ww1234#. Remember to URL-encode this string, since the '#' character has special meaning in a URL. If both SendDigits and MachineDetection parameters are provided, then MachineDetection will be ignored. @optional @param sip_auth_password [String?] The password required to authenticate the user account specified in sip_auth_username. @optional @param sip_auth_username [String?] The username used to authenticate the caller making a SIP call. @optional @param status_callback [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). @optional @param status_callback_event [Array(String)?] 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. If an application_sid is present, this parameter is ignored. @optional @param status_callback_method [Twilio::HttpMethod?] @optional @param time_limit [Int32?] The maximum duration of the call in seconds. Constraints depend on account and configuration. @optional @param timeout [Int32?] The integer number of seconds that we should allow the phone to ring before assuming there is no answer. The default is 60 seconds and the maximum is 600 seconds. For some call flows, we will add a 5-second buffer to the timeout value you provide. For this reason, a timeout value of 10 seconds could result in an actual timeout closer to 15 seconds. You can set this to a short time, such as 15 seconds, to hang up before reaching an answering machine or voicemail. @optional @param trim [String?] 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. @optional @param twiml [String?] TwiML instructions for the call Twilio will use without fetching Twiml from url parameter. If both twiml and url are provided then twiml parameter will be ignored. Max 4000 characters. @optional @param url [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. @return [Twilio::Call]


[View source]
def create_call(*, account_sid : String | Nil = @account_sid, from : String | Nil = nil, to : String | Nil = nil, application_sid : String | Nil = nil, async_amd : String | Nil = nil, async_amd_status_callback : String | Nil = nil, async_amd_status_callback_method : Twilio::HttpMethod | Nil = nil, byoc : String | Nil = nil, call_reason : String | Nil = nil, call_token : String | Nil = nil, caller_id : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, machine_detection : String | Nil = nil, machine_detection_silence_timeout : Int32 | Nil = nil, machine_detection_speech_end_threshold : Int32 | Nil = nil, machine_detection_speech_threshold : Int32 | Nil = nil, machine_detection_timeout : Int32 | Nil = nil, method : Twilio::HttpMethod | Nil = nil, record : Bool | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, send_digits : String | Nil = nil, sip_auth_password : String | Nil = nil, sip_auth_username : String | Nil = nil, status_callback : String | Nil = nil, status_callback_event : Array(String) | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, timeout : Int32 | Nil = nil, trim : String | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Create a new outgoing call to phones, SIP-enabled endpoints or Twilio Client connections @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param from [String?] The phone number or client identifier to use as the caller id. If using a phone number, it must be a Twilio number or a Verified outgoing caller id for your account. If the to parameter is a phone number, From must also be a phone number. @required @param to [String?] The phone number, SIP address, or client identifier to call. @optional @param application_sid [String?] The SID of the Application resource that will handle the call, if the call will be handled by an application. @optional @param async_amd [String?] Select whether to perform answering machine detection in the background. Default, blocks the execution of the call until Answering Machine Detection is completed. Can be: true or false. @optional @param async_amd_status_callback [String?] The URL that we should call using the async_amd_status_callback_method to notify customer application whether the call was answered by human, machine or fax. @optional @param async_amd_status_callback_method [Twilio::HttpMethod?] @optional @param byoc [String?] The SID of a BYOC (Bring Your Own Carrier) trunk to route this call with. Note that byoc is only meaningful when to is a phone number; it will otherwise be ignored. (Beta) @optional @param call_reason [String?] The Reason for the outgoing call. Use it to specify the purpose of the call that is presented on the called party's phone. (Branded Calls Beta) @optional @param call_token [String?] A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call. @optional @param caller_id [String?] The phone number, SIP address, or Client identifier that made this call. Phone numbers are in E.164 format (e.g., +16175551212). SIP addresses are formatted as [email protected]. @optional @param fallback_method [Twilio::HttpMethod?] @optional @param fallback_url [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. @optional @param machine_detection [String?] Whether to detect if a human, answering machine, or fax has picked up the call. Can be: Enable or DetectMessageEnd. Use Enable if you would like us to return AnsweredBy as soon as the called party is identified. Use DetectMessageEnd, if you would like to leave a message on an answering machine. If send_digits is provided, this parameter is ignored. For more information, see Answering Machine Detection. @optional @param machine_detection_silence_timeout [Int32?] The number of milliseconds of initial silence after which an unknown AnsweredBy result will be returned. Possible Values: 2000-10000. Default: 5000. @optional @param machine_detection_speech_end_threshold [Int32?] The number of milliseconds of silence after speech activity at which point the speech activity is considered complete. Possible Values: 500-5000. Default: 1200. @optional @param machine_detection_speech_threshold [Int32?] The number of milliseconds that is used as the measuring stick for the length of the speech activity, where durations lower than this value will be interpreted as a human and longer than this value as a machine. Possible Values: 1000-6000. Default: 2400. @optional @param machine_detection_timeout [Int32?] 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. @optional @param method [Twilio::HttpMethod?] @optional @param record [Bool?] Whether to record the call. Can be true to record the phone call, or false to not. The default is false. The recording_url is sent to the status_callback URL. @optional @param recording_channels [String?] The number of channels in the final recording. Can be: mono or dual. The default is mono. mono records both legs of the call in a single channel of the recording file. dual records each leg to a separate channel of the recording file. The first channel of a dual-channel recording contains the parent call and the second channel contains the child call. @optional @param recording_status_callback [String?] The URL that we call when the recording is available to be accessed. @optional @param recording_status_callback_event [Array(String)?] 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. @optional @param recording_status_callback_method [Twilio::HttpMethod?] @optional @param recording_track [String?] The audio track to record for the call. Can be: inbound, outbound or both. The default is both. inbound records the audio that is received by Twilio. outbound records the audio that is generated from Twilio. both records the audio that is received and generated by Twilio. @optional @param send_digits [String?] A string of keys to dial after connecting to the number, maximum of 32 digits. Valid digits in the string include: any digit (0-9), '#', '*' and 'w', to insert a half second pause. For example, if you connected to a company phone number and wanted to pause for one second, and then dial extension 1234 followed by the pound key, the value of this parameter would be ww1234#. Remember to URL-encode this string, since the '#' character has special meaning in a URL. If both SendDigits and MachineDetection parameters are provided, then MachineDetection will be ignored. @optional @param sip_auth_password [String?] The password required to authenticate the user account specified in sip_auth_username. @optional @param sip_auth_username [String?] The username used to authenticate the caller making a SIP call. @optional @param status_callback [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). @optional @param status_callback_event [Array(String)?] 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. If an application_sid is present, this parameter is ignored. @optional @param status_callback_method [Twilio::HttpMethod?] @optional @param time_limit [Int32?] The maximum duration of the call in seconds. Constraints depend on account and configuration. @optional @param timeout [Int32?] The integer number of seconds that we should allow the phone to ring before assuming there is no answer. The default is 60 seconds and the maximum is 600 seconds. For some call flows, we will add a 5-second buffer to the timeout value you provide. For this reason, a timeout value of 10 seconds could result in an actual timeout closer to 15 seconds. You can set this to a short time, such as 15 seconds, to hang up before reaching an answering machine or voicemail. @optional @param trim [String?] 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. @optional @param twiml [String?] TwiML instructions for the call Twilio will use without fetching Twiml from url parameter. If both twiml and url are provided then twiml parameter will be ignored. Max 4000 characters. @optional @param url [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. @return nil


[View source]
def create_call_feedback_summary(*, account_sid : String | Nil = @account_sid, end_date : Time | Nil = nil, start_date : Time | Nil = nil, include_subaccounts : Bool | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil) : Twilio::CallCallFeedbackSummary #

Create a FeedbackSummary resource for a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param end_date [Time?] Only include feedback given on or before this date. Format is YYYY-MM-DD and specified in UTC. @required @param start_date [Time?] Only include feedback given on or after this date. Format is YYYY-MM-DD and specified in UTC. @optional @param include_subaccounts [Bool?] Whether to also include Feedback resources from all subaccounts. true includes feedback from all subaccounts and false, the default, includes feedback from only the specified account. @optional @param status_callback [String?] The URL that we will request when the feedback summary is complete. @optional @param status_callback_method [Twilio::HttpMethod?] @return [Twilio::CallCallFeedbackSummary]


[View source]
def create_call_feedback_summary(*, account_sid : String | Nil = @account_sid, end_date : Time | Nil = nil, start_date : Time | Nil = nil, include_subaccounts : Bool | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, &block : Crest::Response -> ) : Nil #

Create a FeedbackSummary resource for a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param end_date [Time?] Only include feedback given on or before this date. Format is YYYY-MM-DD and specified in UTC. @required @param start_date [Time?] Only include feedback given on or after this date. Format is YYYY-MM-DD and specified in UTC. @optional @param include_subaccounts [Bool?] Whether to also include Feedback resources from all subaccounts. true includes feedback from all subaccounts and false, the default, includes feedback from only the specified account. @optional @param status_callback [String?] The URL that we will request when the feedback summary is complete. @optional @param status_callback_method [Twilio::HttpMethod?] @return nil


[View source]
def create_call_feedback_summary_with_http_info(*, account_sid : String | Nil = @account_sid, end_date : Time | Nil = nil, start_date : Time | Nil = nil, include_subaccounts : Bool | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil) : Tuple(Twilio::CallCallFeedbackSummary, Int32, Hash(String, Array(String) | String)) #

Create a FeedbackSummary resource for a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param end_date [Time?] Only include feedback given on or before this date. Format is YYYY-MM-DD and specified in UTC. @required @param start_date [Time?] Only include feedback given on or after this date. Format is YYYY-MM-DD and specified in UTC. @optional @param include_subaccounts [Bool?] Whether to also include Feedback resources from all subaccounts. true includes feedback from all subaccounts and false, the default, includes feedback from only the specified account. @optional @param status_callback [String?] The URL that we will request when the feedback summary is complete. @optional @param status_callback_method [Twilio::HttpMethod?] @return [Tuple(Twilio::CallCallFeedbackSummary, Integer, Hash)] Twilio::CallCallFeedbackSummary, response status code and response headers


[View source]
def create_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, trim : String | Nil = nil) : Twilio::CallCallRecording #

Create a recording for the call @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param call_sid [String?] The SID of the Call to associate the resource with. @optional @param recording_channels [String?] The number of channels used in the recording. Can be: mono or dual and the default is mono. mono records all parties of the call into one channel. dual records each party of a 2-party call into separate channels. @optional @param recording_status_callback [String?] The URL we should call using the recording_status_callback_method on each recording event specified in recording_status_callback_event. For more information, see RecordingStatusCallback parameters. @optional @param recording_status_callback_event [Array(String)?] The recording status events on which we should call the recording_status_callback URL. Can be: in-progress, completed and absent and the default is completed. Separate multiple event values with a space. @optional @param recording_status_callback_method [Twilio::HttpMethod?] @optional @param recording_track [String?] The audio track to record for the call. Can be: inbound, outbound or both. The default is both. inbound records the audio that is received by Twilio. outbound records the audio that is generated from Twilio. both records the audio that is received and generated by Twilio. @optional @param trim [String?] Whether to trim any leading and trailing silence in the recording. Can be: trim-silence or do-not-trim and the default is do-not-trim. trim-silence trims the silence from the beginning and end of the recording and do-not-trim does not. @return [Twilio::CallCallRecording]


[View source]
def create_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, trim : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Create a recording for the call @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param call_sid [String?] The SID of the Call to associate the resource with. @optional @param recording_channels [String?] The number of channels used in the recording. Can be: mono or dual and the default is mono. mono records all parties of the call into one channel. dual records each party of a 2-party call into separate channels. @optional @param recording_status_callback [String?] The URL we should call using the recording_status_callback_method on each recording event specified in recording_status_callback_event. For more information, see RecordingStatusCallback parameters. @optional @param recording_status_callback_event [Array(String)?] The recording status events on which we should call the recording_status_callback URL. Can be: in-progress, completed and absent and the default is completed. Separate multiple event values with a space. @optional @param recording_status_callback_method [Twilio::HttpMethod?] @optional @param recording_track [String?] The audio track to record for the call. Can be: inbound, outbound or both. The default is both. inbound records the audio that is received by Twilio. outbound records the audio that is generated from Twilio. both records the audio that is received and generated by Twilio. @optional @param trim [String?] Whether to trim any leading and trailing silence in the recording. Can be: trim-silence or do-not-trim and the default is do-not-trim. trim-silence trims the silence from the beginning and end of the recording and do-not-trim does not. @return nil


[View source]
def create_call_recording_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, trim : String | Nil = nil) : Tuple(Twilio::CallCallRecording, Int32, Hash(String, Array(String) | String)) #

Create a recording for the call @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param call_sid [String?] The SID of the Call to associate the resource with. @optional @param recording_channels [String?] The number of channels used in the recording. Can be: mono or dual and the default is mono. mono records all parties of the call into one channel. dual records each party of a 2-party call into separate channels. @optional @param recording_status_callback [String?] The URL we should call using the recording_status_callback_method on each recording event specified in recording_status_callback_event. For more information, see RecordingStatusCallback parameters. @optional @param recording_status_callback_event [Array(String)?] The recording status events on which we should call the recording_status_callback URL. Can be: in-progress, completed and absent and the default is completed. Separate multiple event values with a space. @optional @param recording_status_callback_method [Twilio::HttpMethod?] @optional @param recording_track [String?] The audio track to record for the call. Can be: inbound, outbound or both. The default is both. inbound records the audio that is received by Twilio. outbound records the audio that is generated from Twilio. both records the audio that is received and generated by Twilio. @optional @param trim [String?] Whether to trim any leading and trailing silence in the recording. Can be: trim-silence or do-not-trim and the default is do-not-trim. trim-silence trims the silence from the beginning and end of the recording and do-not-trim does not. @return [Tuple(Twilio::CallCallRecording, Integer, Hash)] Twilio::CallCallRecording, response status code and response headers


[View source]
def create_call_with_http_info(*, account_sid : String | Nil = @account_sid, from : String | Nil = nil, to : String | Nil = nil, application_sid : String | Nil = nil, async_amd : String | Nil = nil, async_amd_status_callback : String | Nil = nil, async_amd_status_callback_method : Twilio::HttpMethod | Nil = nil, byoc : String | Nil = nil, call_reason : String | Nil = nil, call_token : String | Nil = nil, caller_id : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, machine_detection : String | Nil = nil, machine_detection_silence_timeout : Int32 | Nil = nil, machine_detection_speech_end_threshold : Int32 | Nil = nil, machine_detection_speech_threshold : Int32 | Nil = nil, machine_detection_timeout : Int32 | Nil = nil, method : Twilio::HttpMethod | Nil = nil, record : Bool | Nil = nil, recording_channels : String | Nil = nil, recording_status_callback : String | Nil = nil, recording_status_callback_event : Array(String) | Nil = nil, recording_status_callback_method : Twilio::HttpMethod | Nil = nil, recording_track : String | Nil = nil, send_digits : String | Nil = nil, sip_auth_password : String | Nil = nil, sip_auth_username : String | Nil = nil, status_callback : String | Nil = nil, status_callback_event : Array(String) | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, timeout : Int32 | Nil = nil, trim : String | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil) : Tuple(Twilio::Call, Int32, Hash(String, Array(String) | String)) #

Create a new outgoing call to phones, SIP-enabled endpoints or Twilio Client connections @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param from [String?] The phone number or client identifier to use as the caller id. If using a phone number, it must be a Twilio number or a Verified outgoing caller id for your account. If the to parameter is a phone number, From must also be a phone number. @required @param to [String?] The phone number, SIP address, or client identifier to call. @optional @param application_sid [String?] The SID of the Application resource that will handle the call, if the call will be handled by an application. @optional @param async_amd [String?] Select whether to perform answering machine detection in the background. Default, blocks the execution of the call until Answering Machine Detection is completed. Can be: true or false. @optional @param async_amd_status_callback [String?] The URL that we should call using the async_amd_status_callback_method to notify customer application whether the call was answered by human, machine or fax. @optional @param async_amd_status_callback_method [Twilio::HttpMethod?] @optional @param byoc [String?] The SID of a BYOC (Bring Your Own Carrier) trunk to route this call with. Note that byoc is only meaningful when to is a phone number; it will otherwise be ignored. (Beta) @optional @param call_reason [String?] The Reason for the outgoing call. Use it to specify the purpose of the call that is presented on the called party's phone. (Branded Calls Beta) @optional @param call_token [String?] A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call. @optional @param caller_id [String?] The phone number, SIP address, or Client identifier that made this call. Phone numbers are in E.164 format (e.g., +16175551212). SIP addresses are formatted as [email protected]. @optional @param fallback_method [Twilio::HttpMethod?] @optional @param fallback_url [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. @optional @param machine_detection [String?] Whether to detect if a human, answering machine, or fax has picked up the call. Can be: Enable or DetectMessageEnd. Use Enable if you would like us to return AnsweredBy as soon as the called party is identified. Use DetectMessageEnd, if you would like to leave a message on an answering machine. If send_digits is provided, this parameter is ignored. For more information, see Answering Machine Detection. @optional @param machine_detection_silence_timeout [Int32?] The number of milliseconds of initial silence after which an unknown AnsweredBy result will be returned. Possible Values: 2000-10000. Default: 5000. @optional @param machine_detection_speech_end_threshold [Int32?] The number of milliseconds of silence after speech activity at which point the speech activity is considered complete. Possible Values: 500-5000. Default: 1200. @optional @param machine_detection_speech_threshold [Int32?] The number of milliseconds that is used as the measuring stick for the length of the speech activity, where durations lower than this value will be interpreted as a human and longer than this value as a machine. Possible Values: 1000-6000. Default: 2400. @optional @param machine_detection_timeout [Int32?] 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. @optional @param method [Twilio::HttpMethod?] @optional @param record [Bool?] Whether to record the call. Can be true to record the phone call, or false to not. The default is false. The recording_url is sent to the status_callback URL. @optional @param recording_channels [String?] The number of channels in the final recording. Can be: mono or dual. The default is mono. mono records both legs of the call in a single channel of the recording file. dual records each leg to a separate channel of the recording file. The first channel of a dual-channel recording contains the parent call and the second channel contains the child call. @optional @param recording_status_callback [String?] The URL that we call when the recording is available to be accessed. @optional @param recording_status_callback_event [Array(String)?] 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. @optional @param recording_status_callback_method [Twilio::HttpMethod?] @optional @param recording_track [String?] The audio track to record for the call. Can be: inbound, outbound or both. The default is both. inbound records the audio that is received by Twilio. outbound records the audio that is generated from Twilio. both records the audio that is received and generated by Twilio. @optional @param send_digits [String?] A string of keys to dial after connecting to the number, maximum of 32 digits. Valid digits in the string include: any digit (0-9), '#', '*' and 'w', to insert a half second pause. For example, if you connected to a company phone number and wanted to pause for one second, and then dial extension 1234 followed by the pound key, the value of this parameter would be ww1234#. Remember to URL-encode this string, since the '#' character has special meaning in a URL. If both SendDigits and MachineDetection parameters are provided, then MachineDetection will be ignored. @optional @param sip_auth_password [String?] The password required to authenticate the user account specified in sip_auth_username. @optional @param sip_auth_username [String?] The username used to authenticate the caller making a SIP call. @optional @param status_callback [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). @optional @param status_callback_event [Array(String)?] 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. If an application_sid is present, this parameter is ignored. @optional @param status_callback_method [Twilio::HttpMethod?] @optional @param time_limit [Int32?] The maximum duration of the call in seconds. Constraints depend on account and configuration. @optional @param timeout [Int32?] The integer number of seconds that we should allow the phone to ring before assuming there is no answer. The default is 60 seconds and the maximum is 600 seconds. For some call flows, we will add a 5-second buffer to the timeout value you provide. For this reason, a timeout value of 10 seconds could result in an actual timeout closer to 15 seconds. You can set this to a short time, such as 15 seconds, to hang up before reaching an answering machine or voicemail. @optional @param trim [String?] 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. @optional @param twiml [String?] TwiML instructions for the call Twilio will use without fetching Twiml from url parameter. If both twiml and url are provided then twiml parameter will be ignored. Max 4000 characters. @optional @param url [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. @return [Tuple(Twilio::Call, Integer, Hash)] Twilio::Call, response status code and response headers


[View source]
def create_payments(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, bank_account_type : Twilio::PaymentsEnumBankAccountType | Nil = nil, charge_amount : Float64 | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, input : String | Nil = nil, min_postal_code_length : Int32 | Nil = nil, parameter : String | Nil = nil, payment_connector : String | Nil = nil, payment_method : Twilio::PaymentsEnumPaymentMethod | Nil = nil, postal_code : Bool | Nil = nil, security_code : Bool | Nil = nil, timeout : Int32 | Nil = nil, token_type : Twilio::PaymentsEnumTokenType | Nil = nil, valid_card_types : String | Nil = nil) : Twilio::CallPayments #

create an instance of payments. This will start a new payments session @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param call_sid [String?] The SID of the call that will create the resource. Call leg associated with this sid is expected to provide payment information thru DTMF. @required @param idempotency_key [String?] A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated. @required @param status_callback [String?] Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the expected StatusCallback values @optional @param bank_account_type [Twilio::PaymentsEnumBankAccountType?] @optional @param charge_amount [Float64?] A positive decimal value less than 1,000,000 to charge against the credit card or bank account. Default currency can be overwritten with currency field. Leave blank or set to 0 to tokenize. @optional @param currency [String?] The currency of the charge_amount, formatted as ISO 4127 format. The default value is USD and all values allowed from the Pay Connector are accepted. @optional @param description [String?] The description can be used to provide more details regarding the transaction. This information is submitted along with the payment details to the Payment Connector which are then posted on the transactions. @optional @param input [String?] A list of inputs that should be accepted. Currently only dtmf is supported. All digits captured during a pay session are redacted from the logs. @optional @param min_postal_code_length [Int32?] A positive integer that is used to validate the length of the PostalCode inputted by the user. User must enter this many digits. @optional @param parameter [String?] A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the Connector. Read more. @optional @param payment_connector [String?] This is the unique name corresponding to the Pay Connector installed in the Twilio Add-ons. Learn more about Connectors. The default value is Default. @optional @param payment_method [Twilio::PaymentsEnumPaymentMethod?] @optional @param postal_code [Bool?] Indicates whether the credit card postal code (zip code) is a required piece of payment information that must be provided by the caller. The default is true. @optional @param security_code [Bool?] Indicates whether the credit card security code is a required piece of payment information that must be provided by the caller. The default is true. @optional @param timeout [Int32?] The number of seconds that should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is 5, maximum is 600. @optional @param token_type [Twilio::PaymentsEnumTokenType?] @optional @param valid_card_types [String?] Credit card types separated by space that Pay should accept. The default value is visa mastercard amex @return [Twilio::CallPayments]


[View source]
def create_payments(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, bank_account_type : Twilio::PaymentsEnumBankAccountType | Nil = nil, charge_amount : Float64 | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, input : String | Nil = nil, min_postal_code_length : Int32 | Nil = nil, parameter : String | Nil = nil, payment_connector : String | Nil = nil, payment_method : Twilio::PaymentsEnumPaymentMethod | Nil = nil, postal_code : Bool | Nil = nil, security_code : Bool | Nil = nil, timeout : Int32 | Nil = nil, token_type : Twilio::PaymentsEnumTokenType | Nil = nil, valid_card_types : String | Nil = nil, &block : Crest::Response -> ) : Nil #

create an instance of payments. This will start a new payments session @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param call_sid [String?] The SID of the call that will create the resource. Call leg associated with this sid is expected to provide payment information thru DTMF. @required @param idempotency_key [String?] A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated. @required @param status_callback [String?] Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the expected StatusCallback values @optional @param bank_account_type [Twilio::PaymentsEnumBankAccountType?] @optional @param charge_amount [Float64?] A positive decimal value less than 1,000,000 to charge against the credit card or bank account. Default currency can be overwritten with currency field. Leave blank or set to 0 to tokenize. @optional @param currency [String?] The currency of the charge_amount, formatted as ISO 4127 format. The default value is USD and all values allowed from the Pay Connector are accepted. @optional @param description [String?] The description can be used to provide more details regarding the transaction. This information is submitted along with the payment details to the Payment Connector which are then posted on the transactions. @optional @param input [String?] A list of inputs that should be accepted. Currently only dtmf is supported. All digits captured during a pay session are redacted from the logs. @optional @param min_postal_code_length [Int32?] A positive integer that is used to validate the length of the PostalCode inputted by the user. User must enter this many digits. @optional @param parameter [String?] A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the Connector. Read more. @optional @param payment_connector [String?] This is the unique name corresponding to the Pay Connector installed in the Twilio Add-ons. Learn more about Connectors. The default value is Default. @optional @param payment_method [Twilio::PaymentsEnumPaymentMethod?] @optional @param postal_code [Bool?] Indicates whether the credit card postal code (zip code) is a required piece of payment information that must be provided by the caller. The default is true. @optional @param security_code [Bool?] Indicates whether the credit card security code is a required piece of payment information that must be provided by the caller. The default is true. @optional @param timeout [Int32?] The number of seconds that should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is 5, maximum is 600. @optional @param token_type [Twilio::PaymentsEnumTokenType?] @optional @param valid_card_types [String?] Credit card types separated by space that Pay should accept. The default value is visa mastercard amex @return nil


[View source]
def create_payments_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, bank_account_type : Twilio::PaymentsEnumBankAccountType | Nil = nil, charge_amount : Float64 | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, input : String | Nil = nil, min_postal_code_length : Int32 | Nil = nil, parameter : String | Nil = nil, payment_connector : String | Nil = nil, payment_method : Twilio::PaymentsEnumPaymentMethod | Nil = nil, postal_code : Bool | Nil = nil, security_code : Bool | Nil = nil, timeout : Int32 | Nil = nil, token_type : Twilio::PaymentsEnumTokenType | Nil = nil, valid_card_types : String | Nil = nil) : Tuple(Twilio::CallPayments, Int32, Hash(String, Array(String) | String)) #

create an instance of payments. This will start a new payments session @required @param account_sid [String?] The SID of the Account that will create the resource. @required @param call_sid [String?] The SID of the call that will create the resource. Call leg associated with this sid is expected to provide payment information thru DTMF. @required @param idempotency_key [String?] A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated. @required @param status_callback [String?] Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the expected StatusCallback values @optional @param bank_account_type [Twilio::PaymentsEnumBankAccountType?] @optional @param charge_amount [Float64?] A positive decimal value less than 1,000,000 to charge against the credit card or bank account. Default currency can be overwritten with currency field. Leave blank or set to 0 to tokenize. @optional @param currency [String?] The currency of the charge_amount, formatted as ISO 4127 format. The default value is USD and all values allowed from the Pay Connector are accepted. @optional @param description [String?] The description can be used to provide more details regarding the transaction. This information is submitted along with the payment details to the Payment Connector which are then posted on the transactions. @optional @param input [String?] A list of inputs that should be accepted. Currently only dtmf is supported. All digits captured during a pay session are redacted from the logs. @optional @param min_postal_code_length [Int32?] A positive integer that is used to validate the length of the PostalCode inputted by the user. User must enter this many digits. @optional @param parameter [String?] A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the Connector. Read more. @optional @param payment_connector [String?] This is the unique name corresponding to the Pay Connector installed in the Twilio Add-ons. Learn more about Connectors. The default value is Default. @optional @param payment_method [Twilio::PaymentsEnumPaymentMethod?] @optional @param postal_code [Bool?] Indicates whether the credit card postal code (zip code) is a required piece of payment information that must be provided by the caller. The default is true. @optional @param security_code [Bool?] Indicates whether the credit card security code is a required piece of payment information that must be provided by the caller. The default is true. @optional @param timeout [Int32?] The number of seconds that should wait for the caller to press a digit between each subsequent digit, after the first one, before moving on to validate the digits captured. The default is 5, maximum is 600. @optional @param token_type [Twilio::PaymentsEnumTokenType?] @optional @param valid_card_types [String?] Credit card types separated by space that Pay should accept. The default value is visa mastercard amex @return [Tuple(Twilio::CallPayments, Integer, Hash)] Twilio::CallPayments, response status code and response headers


[View source]
def create_user_defined_message(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, content : String | Nil = nil, idempotency_key : String | Nil = nil) : Twilio::CallUserDefinedMessage #

Create a new User Defined Message for the given Call SID. @required @param account_sid [String?] The SID of the Account that created User Defined Message. @required @param call_sid [String?] The SID of the Call the User Defined Message is associated with. @required @param content [String?] The User Defined Message in the form of URL-encoded JSON string. @optional @param idempotency_key [String?] A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated. @return [Twilio::CallUserDefinedMessage]


[View source]
def create_user_defined_message(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, content : String | Nil = nil, idempotency_key : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Create a new User Defined Message for the given Call SID. @required @param account_sid [String?] The SID of the Account that created User Defined Message. @required @param call_sid [String?] The SID of the Call the User Defined Message is associated with. @required @param content [String?] The User Defined Message in the form of URL-encoded JSON string. @optional @param idempotency_key [String?] A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated. @return nil


[View source]
def create_user_defined_message_subscription(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, callback : String | Nil = nil, idempotency_key : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil) : Twilio::CallUserDefinedMessageSubscription #

Subscribe to User Defined Messages for a given Call SID. @required @param account_sid [String?] The SID of the Account that subscribed to the User Defined Messages. @required @param call_sid [String?] The SID of the Call the User Defined Messages subscription is associated with. This refers to the Call SID that is producing the user defined messages. @required @param callback [String?] The URL we should call using the method to send user defined events to your application. URLs must contain a valid hostname (underscores are not permitted). @optional @param idempotency_key [String?] A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated. @optional @param method [Twilio::HttpMethod?] @return [Twilio::CallUserDefinedMessageSubscription]


[View source]
def create_user_defined_message_subscription(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, callback : String | Nil = nil, idempotency_key : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil, &block : Crest::Response -> ) : Nil #

Subscribe to User Defined Messages for a given Call SID. @required @param account_sid [String?] The SID of the Account that subscribed to the User Defined Messages. @required @param call_sid [String?] The SID of the Call the User Defined Messages subscription is associated with. This refers to the Call SID that is producing the user defined messages. @required @param callback [String?] The URL we should call using the method to send user defined events to your application. URLs must contain a valid hostname (underscores are not permitted). @optional @param idempotency_key [String?] A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated. @optional @param method [Twilio::HttpMethod?] @return nil


[View source]
def create_user_defined_message_subscription_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, callback : String | Nil = nil, idempotency_key : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil) : Tuple(Twilio::CallUserDefinedMessageSubscription, Int32, Hash(String, Array(String) | String)) #

Subscribe to User Defined Messages for a given Call SID. @required @param account_sid [String?] The SID of the Account that subscribed to the User Defined Messages. @required @param call_sid [String?] The SID of the Call the User Defined Messages subscription is associated with. This refers to the Call SID that is producing the user defined messages. @required @param callback [String?] The URL we should call using the method to send user defined events to your application. URLs must contain a valid hostname (underscores are not permitted). @optional @param idempotency_key [String?] A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated. @optional @param method [Twilio::HttpMethod?] @return [Tuple(Twilio::CallUserDefinedMessageSubscription, Integer, Hash)] Twilio::CallUserDefinedMessageSubscription, response status code and response headers


[View source]
def create_user_defined_message_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, content : String | Nil = nil, idempotency_key : String | Nil = nil) : Tuple(Twilio::CallUserDefinedMessage, Int32, Hash(String, Array(String) | String)) #

Create a new User Defined Message for the given Call SID. @required @param account_sid [String?] The SID of the Account that created User Defined Message. @required @param call_sid [String?] The SID of the Call the User Defined Message is associated with. @required @param content [String?] The User Defined Message in the form of URL-encoded JSON string. @optional @param idempotency_key [String?] A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated. @return [Tuple(Twilio::CallUserDefinedMessage, Integer, Hash)] Twilio::CallUserDefinedMessage, response status code and response headers


[View source]
def debugging?(*args, **options) #

[View source]
def debugging?(*args, **options, &) #

[View source]
def delete_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Nil #

Delete a Call record from your account. Once the record is deleted, it will no longer appear in the API and Account Portal logs. @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to delete. @required @param sid [String?] The Twilio-provided Call SID that uniquely identifies the Call resource to delete @return [Nil]


[View source]
def delete_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Delete a Call record from your account. Once the record is deleted, it will no longer appear in the API and Account Portal logs. @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to delete. @required @param sid [String?] The Twilio-provided Call SID that uniquely identifies the Call resource to delete @return nil


[View source]
def delete_call_feedback_summary(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Nil #

Delete a FeedbackSummary resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param sid [String?] A 34 character string that uniquely identifies this resource. @return [Nil]


[View source]
def delete_call_feedback_summary(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Delete a FeedbackSummary resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param sid [String?] A 34 character string that uniquely identifies this resource. @return nil


[View source]
def delete_call_feedback_summary_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Delete a FeedbackSummary resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param sid [String?] A 34 character string that uniquely identifies this resource. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def delete_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Nil #

Delete a recording from your account @required @param account_sid [String?] The SID of the Account that created the Recording resources to delete. @required @param call_sid [String?] The Call SID of the resources to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to delete. @return [Nil]


[View source]
def delete_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Delete a recording from your account @required @param account_sid [String?] The SID of the Account that created the Recording resources to delete. @required @param call_sid [String?] The Call SID of the resources to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to delete. @return nil


[View source]
def delete_call_recording_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Delete a recording from your account @required @param account_sid [String?] The SID of the Account that created the Recording resources to delete. @required @param call_sid [String?] The Call SID of the resources to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to delete. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def delete_call_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Delete a Call record from your account. Once the record is deleted, it will no longer appear in the API and Account Portal logs. @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to delete. @required @param sid [String?] The Twilio-provided Call SID that uniquely identifies the Call resource to delete @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def delete_user_defined_message_subscription(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Nil #

Delete a specific User Defined Message Subscription. @required @param account_sid [String?] The SID of the Account that subscribed to the User Defined Messages. @required @param call_sid [String?] The SID of the Call the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages. @required @param sid [String?] The SID that uniquely identifies this User Defined Message Subscription. @return [Nil]


[View source]
def delete_user_defined_message_subscription(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Delete a specific User Defined Message Subscription. @required @param account_sid [String?] The SID of the Account that subscribed to the User Defined Messages. @required @param call_sid [String?] The SID of the Call the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages. @required @param sid [String?] The SID that uniquely identifies this User Defined Message Subscription. @return nil


[View source]
def delete_user_defined_message_subscription_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Delete a specific User Defined Message Subscription. @required @param account_sid [String?] The SID of the Account that subscribed to the User Defined Messages. @required @param call_sid [String?] The SID of the Call the User Defined Message Subscription is associated with. This refers to the Call SID that is producing the User Defined Messages. @required @param sid [String?] The SID that uniquely identifies this User Defined Message Subscription. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def fetch_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Twilio::Call #

Fetch the call specified by the provided Call SID @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to fetch. @required @param sid [String?] The SID of the Call resource to fetch. @return [Twilio::Call]


[View source]
def fetch_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Fetch the call specified by the provided Call SID @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to fetch. @required @param sid [String?] The SID of the Call resource to fetch. @return nil


[View source]
def fetch_call_feedback(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil) : Twilio::CallCallFeedback #

Fetch a Feedback resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param call_sid [String?] The call sid that uniquely identifies the call @return [Twilio::CallCallFeedback]


[View source]
def fetch_call_feedback(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Fetch a Feedback resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param call_sid [String?] The call sid that uniquely identifies the call @return nil


[View source]
def fetch_call_feedback_summary(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Twilio::CallCallFeedbackSummary #

Fetch a FeedbackSummary resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param sid [String?] A 34 character string that uniquely identifies this resource. @return [Twilio::CallCallFeedbackSummary]


[View source]
def fetch_call_feedback_summary(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Fetch a FeedbackSummary resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param sid [String?] A 34 character string that uniquely identifies this resource. @return nil


[View source]
def fetch_call_feedback_summary_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Twilio::CallCallFeedbackSummary, Int32, Hash(String, Array(String) | String)) #

Fetch a FeedbackSummary resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param sid [String?] A 34 character string that uniquely identifies this resource. @return [Tuple(Twilio::CallCallFeedbackSummary, Integer, Hash)] Twilio::CallCallFeedbackSummary, response status code and response headers


[View source]
def fetch_call_feedback_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil) : Tuple(Twilio::CallCallFeedback, Int32, Hash(String, Array(String) | String)) #

Fetch a Feedback resource from a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param call_sid [String?] The call sid that uniquely identifies the call @return [Tuple(Twilio::CallCallFeedback, Integer, Hash)] Twilio::CallCallFeedback, response status code and response headers


[View source]
def fetch_call_notification(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Twilio::CallCallNotificationInstance #

@required @param account_sid [String?] The SID of the Account that created the Call Notification resource to fetch. @required @param call_sid [String?] The Call SID of the Call Notification resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Call Notification resource to fetch. @return [Twilio::CallCallNotificationInstance]


[View source]
def fetch_call_notification(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

@required @param account_sid [String?] The SID of the Account that created the Call Notification resource to fetch. @required @param call_sid [String?] The Call SID of the Call Notification resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Call Notification resource to fetch. @return nil


[View source]
def fetch_call_notification_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Tuple(Twilio::CallCallNotificationInstance, Int32, Hash(String, Array(String) | String)) #

@required @param account_sid [String?] The SID of the Account that created the Call Notification resource to fetch. @required @param call_sid [String?] The Call SID of the Call Notification resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Call Notification resource to fetch. @return [Tuple(Twilio::CallCallNotificationInstance, Integer, Hash)] Twilio::CallCallNotificationInstance, response status code and response headers


[View source]
def fetch_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Twilio::CallCallRecording #

Fetch an instance of a recording for a call @required @param account_sid [String?] The SID of the Account that created the Recording resource to fetch. @required @param call_sid [String?] The Call SID of the resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to fetch. @return [Twilio::CallCallRecording]


[View source]
def fetch_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Fetch an instance of a recording for a call @required @param account_sid [String?] The SID of the Account that created the Recording resource to fetch. @required @param call_sid [String?] The Call SID of the resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to fetch. @return nil


[View source]
def fetch_call_recording_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil) : Tuple(Twilio::CallCallRecording, Int32, Hash(String, Array(String) | String)) #

Fetch an instance of a recording for a call @required @param account_sid [String?] The SID of the Account that created the Recording resource to fetch. @required @param call_sid [String?] The Call SID of the resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to fetch. @return [Tuple(Twilio::CallCallRecording, Integer, Hash)] Twilio::CallCallRecording, response status code and response headers


[View source]
def fetch_call_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Twilio::Call, Int32, Hash(String, Array(String) | String)) #

Fetch the call specified by the provided Call SID @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to fetch. @required @param sid [String?] The SID of the Call resource to fetch. @return [Tuple(Twilio::Call, Integer, Hash)] Twilio::Call, response status code and response headers


[View source]
def list_call(*, account_sid : String | Nil = @account_sid, to : String | Nil = nil, from : String | Nil = nil, parent_call_sid : String | Nil = nil, status : Twilio::CallEnumStatus | Nil = nil, start_time : Time | Nil = nil, start_time_before : Time | Nil = nil, start_time_after : Time | Nil = nil, end_time : Time | Nil = nil, end_time_before : Time | Nil = nil, end_time_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Twilio::ListCallResponse #

Retrieves a collection of calls made to and from your account @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to read. @optional @param to [String?] Only show calls made to this phone number, SIP address, Client identifier or SIM SID. @optional @param from [String?] Only include calls from this phone number, SIP address, Client identifier or SIM SID. @optional @param parent_call_sid [String?] Only include calls spawned by calls with this SID. @optional @param status [Twilio::CallEnumStatus?] The status of the calls to include. Can be: queued, ringing, in-progress, canceled, completed, failed, busy, or no-answer. @optional @param start_time [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param start_time_before [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param start_time_after [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param end_time [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param end_time_before [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param end_time_after [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListCallResponse]


[View source]
def list_call(*, account_sid : String | Nil = @account_sid, to : String | Nil = nil, from : String | Nil = nil, parent_call_sid : String | Nil = nil, status : Twilio::CallEnumStatus | Nil = nil, start_time : Time | Nil = nil, start_time_before : Time | Nil = nil, start_time_after : Time | Nil = nil, end_time : Time | Nil = nil, end_time_before : Time | Nil = nil, end_time_after : Time | Nil = nil, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil #

Retrieves a collection of calls made to and from your account @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to read. @optional @param to [String?] Only show calls made to this phone number, SIP address, Client identifier or SIM SID. @optional @param from [String?] Only include calls from this phone number, SIP address, Client identifier or SIM SID. @optional @param parent_call_sid [String?] Only include calls spawned by calls with this SID. @optional @param status [Twilio::CallEnumStatus?] The status of the calls to include. Can be: queued, ringing, in-progress, canceled, completed, failed, busy, or no-answer. @optional @param start_time [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param start_time_before [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param start_time_after [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param end_time [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param end_time_before [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param end_time_after [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil


[View source]
def list_call_event(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, page_size : Int32 | Nil = nil) : Twilio::ListCallEventResponse #

Retrieve a list of all events for a call. @required @param account_sid [String?] The unique SID identifier of the Account. @required @param call_sid [String?] The unique SID identifier of the Call. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListCallEventResponse]


[View source]
def list_call_event(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil #

Retrieve a list of all events for a call. @required @param account_sid [String?] The unique SID identifier of the Account. @required @param call_sid [String?] The unique SID identifier of the Call. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil


[View source]
def list_call_event_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListCallEventResponse, Int32, Hash(String, Array(String) | String)) #

Retrieve a list of all events for a call. @required @param account_sid [String?] The unique SID identifier of the Account. @required @param call_sid [String?] The unique SID identifier of the Call. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListCallEventResponse, Integer, Hash)] Twilio::ListCallEventResponse, response status code and response headers


[View source]
def list_call_notification(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, log : Int32 | Nil = nil, message_date : Time | Nil = nil, message_date_before : Time | Nil = nil, message_date_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Twilio::ListCallNotificationResponse #

@required @param account_sid [String?] The SID of the Account that created the Call Notification resources to read. @required @param call_sid [String?] The Call SID of the Call Notification resources to read. @optional @param log [Int32?] Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read. @optional @param message_date [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param message_date_before [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param message_date_after [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListCallNotificationResponse]


[View source]
def list_call_notification(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, log : Int32 | Nil = nil, message_date : Time | Nil = nil, message_date_before : Time | Nil = nil, message_date_after : Time | Nil = nil, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil #

@required @param account_sid [String?] The SID of the Account that created the Call Notification resources to read. @required @param call_sid [String?] The Call SID of the Call Notification resources to read. @optional @param log [Int32?] Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read. @optional @param message_date [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param message_date_before [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param message_date_after [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil


[View source]
def list_call_notification_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, log : Int32 | Nil = nil, message_date : Time | Nil = nil, message_date_before : Time | Nil = nil, message_date_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListCallNotificationResponse, Int32, Hash(String, Array(String) | String)) #

@required @param account_sid [String?] The SID of the Account that created the Call Notification resources to read. @required @param call_sid [String?] The Call SID of the Call Notification resources to read. @optional @param log [Int32?] Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read. @optional @param message_date [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param message_date_before [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param message_date_after [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListCallNotificationResponse, Integer, Hash)] Twilio::ListCallNotificationResponse, response status code and response headers


[View source]
def list_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, date_created : Time | Nil = nil, date_created_before : Time | Nil = nil, date_created_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Twilio::ListCallRecordingResponse #

Retrieve a list of recordings belonging to the call used to make the request @required @param account_sid [String?] The SID of the Account that created the Recording resources to read. @required @param call_sid [String?] The Call SID of the resources to read. @optional @param date_created [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param date_created_before [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param date_created_after [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListCallRecordingResponse]


[View source]
def list_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, date_created : Time | Nil = nil, date_created_before : Time | Nil = nil, date_created_after : Time | Nil = nil, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil #

Retrieve a list of recordings belonging to the call used to make the request @required @param account_sid [String?] The SID of the Account that created the Recording resources to read. @required @param call_sid [String?] The Call SID of the resources to read. @optional @param date_created [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param date_created_before [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param date_created_after [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil


[View source]
def list_call_recording_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, date_created : Time | Nil = nil, date_created_before : Time | Nil = nil, date_created_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListCallRecordingResponse, Int32, Hash(String, Array(String) | String)) #

Retrieve a list of recordings belonging to the call used to make the request @required @param account_sid [String?] The SID of the Account that created the Recording resources to read. @required @param call_sid [String?] The Call SID of the resources to read. @optional @param date_created [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param date_created_before [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param date_created_after [Time?] The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListCallRecordingResponse, Integer, Hash)] Twilio::ListCallRecordingResponse, response status code and response headers


[View source]
def list_call_with_http_info(*, account_sid : String | Nil = @account_sid, to : String | Nil = nil, from : String | Nil = nil, parent_call_sid : String | Nil = nil, status : Twilio::CallEnumStatus | Nil = nil, start_time : Time | Nil = nil, start_time_before : Time | Nil = nil, start_time_after : Time | Nil = nil, end_time : Time | Nil = nil, end_time_before : Time | Nil = nil, end_time_after : Time | Nil = nil, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListCallResponse, Int32, Hash(String, Array(String) | String)) #

Retrieves a collection of calls made to and from your account @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to read. @optional @param to [String?] Only show calls made to this phone number, SIP address, Client identifier or SIM SID. @optional @param from [String?] Only include calls from this phone number, SIP address, Client identifier or SIM SID. @optional @param parent_call_sid [String?] Only include calls spawned by calls with this SID. @optional @param status [Twilio::CallEnumStatus?] The status of the calls to include. Can be: queued, ringing, in-progress, canceled, completed, failed, busy, or no-answer. @optional @param start_time [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param start_time_before [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param start_time_after [Time?] Only include calls that started on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD to read calls that started on or after midnight of this date. @optional @param end_time [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param end_time_before [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param end_time_after [Time?] Only include calls that ended on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD to read calls that ended on or after midnight of this date. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListCallResponse, Integer, Hash)] Twilio::ListCallResponse, response status code and response headers


[View source]
def update_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil, status : Twilio::CallEnumUpdateStatus | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil) : Twilio::Call #

Initiates a call redirect or terminates a call @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Call resource to update @optional @param fallback_method [Twilio::HttpMethod?] @optional @param fallback_url [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. @optional @param method [Twilio::HttpMethod?] @optional @param status [Twilio::CallEnumUpdateStatus?] @optional @param status_callback [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). @optional @param status_callback_method [Twilio::HttpMethod?] @optional @param time_limit [Int32?] The maximum duration of the call in seconds. Constraints depend on account and configuration. @optional @param twiml [String?] TwiML instructions for the call Twilio will use without fetching Twiml from url. Twiml and url parameters are mutually exclusive @optional @param url [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. @return [Twilio::Call]


[View source]
def update_call(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil, status : Twilio::CallEnumUpdateStatus | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Initiates a call redirect or terminates a call @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Call resource to update @optional @param fallback_method [Twilio::HttpMethod?] @optional @param fallback_url [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. @optional @param method [Twilio::HttpMethod?] @optional @param status [Twilio::CallEnumUpdateStatus?] @optional @param status_callback [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). @optional @param status_callback_method [Twilio::HttpMethod?] @optional @param time_limit [Int32?] The maximum duration of the call in seconds. Constraints depend on account and configuration. @optional @param twiml [String?] TwiML instructions for the call Twilio will use without fetching Twiml from url. Twiml and url parameters are mutually exclusive @optional @param url [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. @return nil


[View source]
def update_call_feedback(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, issue : Array(CallFeedbackEnumIssues) | Nil = nil, quality_score : Int32 | Nil = nil) : Twilio::CallCallFeedback #

Update a Feedback resource for a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param call_sid [String?] The call sid that uniquely identifies the call @optional @param issue [Array(CallFeedbackEnumIssues)?] One or more issues experienced during the call. The issues can be: imperfect-audio, dropped-call, incorrect-caller-id, post-dial-delay, digits-not-captured, audio-latency, unsolicited-call, or one-way-audio. @optional @param quality_score [Int32?] The call quality expressed as an integer from 1 to 5 where 1 represents very poor call quality and 5 represents a perfect call. @return [Twilio::CallCallFeedback]


[View source]
def update_call_feedback(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, issue : Array(CallFeedbackEnumIssues) | Nil = nil, quality_score : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil #

Update a Feedback resource for a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param call_sid [String?] The call sid that uniquely identifies the call @optional @param issue [Array(CallFeedbackEnumIssues)?] One or more issues experienced during the call. The issues can be: imperfect-audio, dropped-call, incorrect-caller-id, post-dial-delay, digits-not-captured, audio-latency, unsolicited-call, or one-way-audio. @optional @param quality_score [Int32?] The call quality expressed as an integer from 1 to 5 where 1 represents very poor call quality and 5 represents a perfect call. @return nil


[View source]
def update_call_feedback_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, issue : Array(CallFeedbackEnumIssues) | Nil = nil, quality_score : Int32 | Nil = nil) : Tuple(Twilio::CallCallFeedback, Int32, Hash(String, Array(String) | String)) #

Update a Feedback resource for a call @required @param account_sid [String?] The unique id of the Account responsible for this resource. @required @param call_sid [String?] The call sid that uniquely identifies the call @optional @param issue [Array(CallFeedbackEnumIssues)?] One or more issues experienced during the call. The issues can be: imperfect-audio, dropped-call, incorrect-caller-id, post-dial-delay, digits-not-captured, audio-latency, unsolicited-call, or one-way-audio. @optional @param quality_score [Int32?] The call quality expressed as an integer from 1 to 5 where 1 represents very poor call quality and 5 represents a perfect call. @return [Tuple(Twilio::CallCallFeedback, Integer, Hash)] Twilio::CallCallFeedback, response status code and response headers


[View source]
def update_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::CallRecordingEnumStatus | Nil = nil, pause_behavior : String | Nil = nil) : Twilio::CallCallRecording #

Changes the status of the recording to paused, stopped, or in-progress. Note: Pass Twilio.CURRENT instead of recording sid to reference current active recording. @required @param account_sid [String?] The SID of the Account that created the Recording resource to update. @required @param call_sid [String?] The Call SID of the resource to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to update. @required @param status [Twilio::CallRecordingEnumStatus?] @optional @param pause_behavior [String?] Whether to record during a pause. Can be: skip or silence and the default is silence. skip does not record during the pause period, while silence will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting status is set to paused. @return [Twilio::CallCallRecording]


[View source]
def update_call_recording(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::CallRecordingEnumStatus | Nil = nil, pause_behavior : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Changes the status of the recording to paused, stopped, or in-progress. Note: Pass `Twilio.CURRENT` instead of recording sid to reference current active recording. @required @param account_sid [String?] The SID of the Account that created the Recording resource to update. @required @param call_sid [String?] The Call SID of the resource to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to update. @required @param status [Twilio::CallRecordingEnumStatus?] @optional @param pause_behavior [String?] Whether to record during a pause. Can be: skip or silence and the default is silence. skip does not record during the pause period, while silence will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting status is set to paused. @return nil


[View source]
def update_call_recording_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::CallRecordingEnumStatus | Nil = nil, pause_behavior : String | Nil = nil) : Tuple(Twilio::CallCallRecording, Int32, Hash(String, Array(String) | String)) #

Changes the status of the recording to paused, stopped, or in-progress. Note: Pass `Twilio.CURRENT` instead of recording sid to reference current active recording. @required @param account_sid [String?] The SID of the Account that created the Recording resource to update. @required @param call_sid [String?] The Call SID of the resource to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Recording resource to update. @required @param status [Twilio::CallRecordingEnumStatus?] @optional @param pause_behavior [String?] Whether to record during a pause. Can be: skip or silence and the default is silence. skip does not record during the pause period, while silence will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting status is set to paused. @return [Tuple(Twilio::CallCallRecording, Integer, Hash)] Twilio::CallCallRecording, response status code and response headers


[View source]
def update_call_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, fallback_method : Twilio::HttpMethod | Nil = nil, fallback_url : String | Nil = nil, method : Twilio::HttpMethod | Nil = nil, status : Twilio::CallEnumUpdateStatus | Nil = nil, status_callback : String | Nil = nil, status_callback_method : Twilio::HttpMethod | Nil = nil, time_limit : Int32 | Nil = nil, twiml : String | Nil = nil, url : String | Nil = nil) : Tuple(Twilio::Call, Int32, Hash(String, Array(String) | String)) #

Initiates a call redirect or terminates a call @required @param account_sid [String?] The SID of the Account that created the Call resource(s) to update. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Call resource to update @optional @param fallback_method [Twilio::HttpMethod?] @optional @param fallback_url [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. @optional @param method [Twilio::HttpMethod?] @optional @param status [Twilio::CallEnumUpdateStatus?] @optional @param status_callback [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). @optional @param status_callback_method [Twilio::HttpMethod?] @optional @param time_limit [Int32?] The maximum duration of the call in seconds. Constraints depend on account and configuration. @optional @param twiml [String?] TwiML instructions for the call Twilio will use without fetching Twiml from url. Twiml and url parameters are mutually exclusive @optional @param url [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. @return [Tuple(Twilio::Call, Integer, Hash)] Twilio::Call, response status code and response headers


[View source]
def update_payments(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, capture : Twilio::PaymentsEnumCapture | Nil = nil, status : Twilio::PaymentsEnumStatus | Nil = nil) : Twilio::CallPayments #

update an instance of payments with different phases of payment flows. @required @param account_sid [String?] The SID of the Account that will update the resource. @required @param call_sid [String?] The SID of the call that will update the resource. This should be the same call sid that was used to create payments resource. @required @param sid [String?] The SID of Payments session that needs to be updated. @required @param idempotency_key [String?] A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated. @required @param status_callback [String?] Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the Update and Complete/Cancel POST requests. @optional @param capture [Twilio::PaymentsEnumCapture?] @optional @param status [Twilio::PaymentsEnumStatus?] @return [Twilio::CallPayments]


[View source]
def update_payments(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, capture : Twilio::PaymentsEnumCapture | Nil = nil, status : Twilio::PaymentsEnumStatus | Nil = nil, &block : Crest::Response -> ) : Nil #

update an instance of payments with different phases of payment flows. @required @param account_sid [String?] The SID of the Account that will update the resource. @required @param call_sid [String?] The SID of the call that will update the resource. This should be the same call sid that was used to create payments resource. @required @param sid [String?] The SID of Payments session that needs to be updated. @required @param idempotency_key [String?] A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated. @required @param status_callback [String?] Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the Update and Complete/Cancel POST requests. @optional @param capture [Twilio::PaymentsEnumCapture?] @optional @param status [Twilio::PaymentsEnumStatus?] @return nil


[View source]
def update_payments_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, idempotency_key : String | Nil = nil, status_callback : String | Nil = nil, capture : Twilio::PaymentsEnumCapture | Nil = nil, status : Twilio::PaymentsEnumStatus | Nil = nil) : Tuple(Twilio::CallPayments, Int32, Hash(String, Array(String) | String)) #

update an instance of payments with different phases of payment flows. @required @param account_sid [String?] The SID of the Account that will update the resource. @required @param call_sid [String?] The SID of the call that will update the resource. This should be the same call sid that was used to create payments resource. @required @param sid [String?] The SID of Payments session that needs to be updated. @required @param idempotency_key [String?] A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated. @required @param status_callback [String?] Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the Update and Complete/Cancel POST requests. @optional @param capture [Twilio::PaymentsEnumCapture?] @optional @param status [Twilio::PaymentsEnumStatus?] @return [Tuple(Twilio::CallPayments, Integer, Hash)] Twilio::CallPayments, response status code and response headers


[View source]
def update_siprec(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil) : Twilio::CallSiprec #

Stop a Siprec using either the SID of the Siprec resource or the name used when creating the resource @required @param account_sid [String?] The SID of the Account that created this Siprec resource. @required @param call_sid [String?] The SID of the Call the Siprec resource is associated with. @required @param sid [String?] The SID of the Siprec resource, or the name used when creating the resource @required @param status [Twilio::SiprecEnumUpdateStatus?] @return [Twilio::CallSiprec]


[View source]
def update_siprec(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil, &block : Crest::Response -> ) : Nil #

Stop a Siprec using either the SID of the Siprec resource or the `name` used when creating the resource @required @param account_sid [String?] The SID of the Account that created this Siprec resource. @required @param call_sid [String?] The SID of the Call the Siprec resource is associated with. @required @param sid [String?] The SID of the Siprec resource, or the name used when creating the resource @required @param status [Twilio::SiprecEnumUpdateStatus?] @return nil


[View source]
def update_siprec_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil) : Tuple(Twilio::CallSiprec, Int32, Hash(String, Array(String) | String)) #

Stop a Siprec using either the SID of the Siprec resource or the `name` used when creating the resource @required @param account_sid [String?] The SID of the Account that created this Siprec resource. @required @param call_sid [String?] The SID of the Call the Siprec resource is associated with. @required @param sid [String?] The SID of the Siprec resource, or the name used when creating the resource @required @param status [Twilio::SiprecEnumUpdateStatus?] @return [Tuple(Twilio::CallSiprec, Integer, Hash)] Twilio::CallSiprec, response status code and response headers


[View source]
def update_stream(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil) : Twilio::CallStream #

Stop a Stream using either the SID of the Stream resource or the name used when creating the resource @required @param account_sid [String?] The SID of the Account that created this Stream resource. @required @param call_sid [String?] The SID of the Call the Stream resource is associated with. @required @param sid [String?] The SID of the Stream resource, or the name used when creating the resource @required @param status [Twilio::SiprecEnumUpdateStatus?] @return [Twilio::CallStream]


[View source]
def update_stream(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil, &block : Crest::Response -> ) : Nil #

Stop a Stream using either the SID of the Stream resource or the `name` used when creating the resource @required @param account_sid [String?] The SID of the Account that created this Stream resource. @required @param call_sid [String?] The SID of the Call the Stream resource is associated with. @required @param sid [String?] The SID of the Stream resource, or the name used when creating the resource @required @param status [Twilio::SiprecEnumUpdateStatus?] @return nil


[View source]
def update_stream_with_http_info(*, account_sid : String | Nil = @account_sid, call_sid : String | Nil = nil, sid : String | Nil = nil, status : Twilio::SiprecEnumUpdateStatus | Nil = nil) : Tuple(Twilio::CallStream, Int32, Hash(String, Array(String) | String)) #

Stop a Stream using either the SID of the Stream resource or the `name` used when creating the resource @required @param account_sid [String?] The SID of the Account that created this Stream resource. @required @param call_sid [String?] The SID of the Call the Stream resource is associated with. @required @param sid [String?] The SID of the Stream resource, or the name used when creating the resource @required @param status [Twilio::SiprecEnumUpdateStatus?] @return [Tuple(Twilio::CallStream, Integer, Hash)] Twilio::CallStream, response status code and response headers


[View source]