old_contents: var TelegramBot = require('node-telegram-bot-api');
  var getCurrency = require('./getCurrency');
  
  // get from Heroku config variable
  var token = process.env.token;
  var channelID = process.env.channelID;
  var port = process.env.PORT || 8443;
  var host = process.env.HOST;
  
  var webhook = {
  	webHook: {
  		port: port,
  		host: host
  	}
  }
  
  var bot = new TelegramBot(token, webhook);
  var runCurrency = getCurrency(function(err, currency){
  	return currency;
  });
  
  console.log('app start!');
  
  // keep your server awake. run every 5 minutes.
  setInterval(function(){
      console.log('Keep server awake.', runCurrency());
  }, 5 * 60 * 1000);
  
  // bot send message every hours.
  setInterval(function(){
  	bot.sendMessage(channelID, runCurrency());
  }, 3600 * 1000);
new_contents: var TelegramBot = require('node-telegram-bot-api');
  var getCurrency = require('./getCurrency');
  
  // get from Heroku config variable
  var token = process.env.token;
  var channelID = process.env.channelID;
  var port = process.env.PORT || 8443;
  var host = process.env.HOST;
  
  var webhook = {
  	webHook: {
  		port: port,
  		host: host
  	}
  }
  
  var bot = new TelegramBot(token, webhook);
  getCurrency(function(err, currency){
  	console.log(currency);
  });
  
  console.log('app start!');
  
  // keep your server awake. run every 5 minutes.
  setInterval(function(){
  	getCurrency(function(err, currency){
  		console.log('Keep server awake.', currency);
  	});
  }, 5 * 60 * 1000);
  
  // bot send message every hours.
  setInterval(function(){
  	getCurrency(function(err, currency){
  		console.log('Keep server awake.', );
  		bot.sendMessage(channelID, currency);
  	});
  }, 3600 * 1000);
subject: fix type error