index.js
//POST! This is where messages are sent back to Telegram
POST. This is where messages are sent back to Telegram
POST . This is where messages are sent back to Telegram
function postString (reply, message, res) {
  axios
  .post(
    apiUrl + '/sendMessage',
    {
      chat_id: message.chat.id,
      text: reply
    }
  )
  .then(response => {
    res.end('ok')
  })
  .catch(err => {
    h.err('Error: ' + err)
    res.end('Error: ' + err)
  })
}
function postString ( reply , message , res ) { axios . post ( apiUrl + '/sendMessage' , { chat_id : message . chat . id , text : reply } ) . then ( response => { res . end ( 'ok' ) } ) . catch ( err => { h . err ( 'Error: ' + err ) res . end ( 'Error: ' + err ) } ) }
POST!
POST!