renderSms method
POST /{version}/notifications/sms/templates/render
Runs the Razor SMS template code with the given tokens
([{'name': ..., 'value': ...}]) and answers the bound text, or the
list of tokens that are still unresolved. isForPreview: true relaxes
some validation.
Implementation
Future<Object?> renderSms(
{Map<String, Object?>? query,
Object? body,
Map<String, String>? headers}) {
return transport.send(
route: '/{version}/notifications/sms/templates/render',
method: 'POST',
query: query,
body: body,
headers: headers,
pathParams: null,
);
}