replyToSmsMessageWithHttpInfo method
Send a reply to a received SMS message. Replies are sent from the receiving number.
Reply to an SMS message.
Note: This method returns the HTTP Response
.
Parameters:
-
String smsId (required):
-
SmsReplyOptions smsReplyOptions (required):
Implementation
Future<Response> replyToSmsMessageWithHttpInfo(String smsId, SmsReplyOptions smsReplyOptions,) async {
// ignore: prefer_const_declarations
final path = r'/sms/{smsId}/reply'
.replaceAll('{smsId}', smsId);
// ignore: prefer_final_locals
Object? postBody = smsReplyOptions;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}