function formatMessage(
  messageString,
  messageDestinationDomain,
  messageRecipient,
) {
  const message = {
    message: messageString,
    destinationDomain: messageDestinationDomain,
    recipientAddress: messageRecipient,
  };

  return message;
}
/*
 * Format into a Message type
 *
 * @param messageString - string for the body of the message
 * @param messageDestinationDomain - domain where the message will be sent
 * @param messageRecipient - recipient of the message on the destination domain
 *
 * @return message - Message type
 */
Format into a Message type
@param messageString - string for the body of the message
@param messageDestinationDomain - domain where the message will be sent
@param messageRecipient - recipient of the message on the destination domain

@return message - Message type
Format into a Message type @param messageString - string for the body of the message @param messageDestinationDomain - domain where the message will be sent @param messageRecipient - recipient of the message on the destination domain @return message - Message type
function formatMessage(
  messageString,
  messageDestinationDomain,
  messageRecipient,
) {
  const message = {
    message: messageString,
    destinationDomain: messageDestinationDomain,
    recipientAddress: messageRecipient,
  };
  return message;
}
function formatMessage ( messageString , messageDestinationDomain , messageRecipient , ) { const message = { message : messageString , destinationDomain : messageDestinationDomain , recipientAddress : messageRecipient , } ; return message ; }
Format into a Message type
 @param messageString - string for the body of the message
 @param messageDestinationDomain - domain where the message will be sent
 @param messageRecipient - recipient of the message on the destination domain
Format into a Message type @param messageString - string for the body of the message @param messageDestinationDomain - domain where the message will be sent @param messageRecipient - recipient of the message on the destination domain