-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best practics to use express with telegram-node-bot #170
Comments
Set number of workers to 1 maybe works... const tg = new Telegram.Telegram('YOUR_TOKEN', { |
how to give url link when clicking on button? |
I have the same problem. Are there any solution to this? |
I have the same problem. Did anyone get the solution? |
Yes i have, u need to use express init in $.onMaster callback |
`//init modules const Telegram = require('telegram-node-bot') let tg = new Telegram.Telegram('key'); tg.onMaster(() => {
});` |
Hello! Im try to use this framework with express framework for notice users via get query from php-app.
Well heres my code:
`'use strict'
const express = require('express');
const app = express();
app.listen(8008);
So i get binded port error cause express execute many times.
Some Log
What should i do for fix this issue?
Thx and sorry for bad english :)
The text was updated successfully, but these errors were encountered: