sendMessage method

Future sendMessage (
  1. String correlationId,
  2. RecipientV1 recipient,
  3. MessageV1 message,
  4. ConfigParams parameters,
  5. String method
)

Send the message to recipient

  • correlationId (optional) transaction id to trace execution through call chain.
  • recipient a recipient of the message.
  • message a message to be send.
  • parameters an additional parameters to be send.
  • method a delivery method(email and/or sms).