Guest User

issuetelegram

a guest
Sep 14th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. 'use strict';
  2.  
  3. var port = process.env.PORT || 443,
  4. host = '0.0.0.0', // probably this change is not required
  5. externalUrl = process.env.CUSTOM_ENV_VARIABLE || 'https://my-app.herokuapp.com';
  6. const Telegram = require('telegram-node-bot');
  7. const telegramBot = new Telegram.Telegram("", {
  8. webAdmin: {
  9. host: host,
  10. port: port
  11. },
  12. workers: 0
  13. });
  14.  
  15. console.log("initializing value");
Advertisement
Add Comment
Please, Sign In to add comment