sendMessageToRecipient abstract method
Send the messages to recipient by its id
correlationId
(optional) transaction id to trace execution through call chain.recipientId
a recipient id.subscription
a subscription.message
a message to be send.parameters
an additional parameters to be send.method
a delivery method(email and/or sms).
Implementation
Future sendMessageToRecipient(
String? correlationId,
String recipientId,
String? subscription,
MessageV1 message,
ConfigParams? parameters,
String method);