getSmsMessageWithHttpInfo method

Future<Response> getSmsMessageWithHttpInfo(
  1. String smsId
)

Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController.

Returns a SMS summary object with content.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> getSmsMessageWithHttpInfo(String smsId,) async {
  // ignore: prefer_const_declarations
  final path = r'/sms/{smsId}'
    .replaceAll('{smsId}', smsId);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}