Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- var port = process.env.PORT || 443,
- host = '0.0.0.0', // probably this change is not required
- externalUrl = process.env.CUSTOM_ENV_VARIABLE || 'https://my-app.herokuapp.com';
- const Telegram = require('telegram-node-bot');
- const telegramBot = new Telegram.Telegram("", {
- webAdmin: {
- host: host,
- port: port
- },
- workers: 0
- });
- console.log("initializing value");
Advertisement
Add Comment
Please, Sign In to add comment