function sendTextMessage(recipientId, messageText) {
  let messageData = {
    recipient: {
      id: recipientId
    },
    message: {
      text: messageText
    }
  }

  callSendAPI(messageData)
}
/**
 * Send a text message to specify Messenger user.
 * @param {string} recipientId 
 * @param {string} messageText 
 */
Send a text message to specify Messenger user.
@param {string} recipientId
@param {string} messageText
Send a text message to specify Messenger user . @param { string } recipientId @param { string } messageText
function sendTextMessage(recipientId, messageText) {
  let messageData = {
    recipient: {
      id: recipientId
    },
    message: {
      text: messageText
    }
  }
  callSendAPI(messageData)
}
function sendTextMessage ( recipientId , messageText ) { let messageData = { recipient : { id : recipientId } , message : { text : messageText } } callSendAPI ( messageData ) }
Send a text message to specify Messenger user.
Send a text message to specify Messenger user .