v1ConvaiTwilioOutboundCallPost method

Future<Response<TwilioOutboundCallResponse>> v1ConvaiTwilioOutboundCallPost({
  1. String? xiApiKey,
  2. required BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost? body,
})

Handle An Outbound Call Via Twilio @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Implementation

Future<chopper.Response<TwilioOutboundCallResponse>>
v1ConvaiTwilioOutboundCallPost({
  String? xiApiKey,
  required BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost?
  body,
}) {
  generatedMapping.putIfAbsent(
    TwilioOutboundCallResponse,
    () => TwilioOutboundCallResponse.fromJsonFactory,
  );

  return _v1ConvaiTwilioOutboundCallPost(
    xiApiKey: xiApiKey?.toString(),
    body: body,
  );
}