Webhook(s) for multiple telegram bots #1214
Unanswered
royibernthal
asked this question in
Q&A
Replies: 1 comment
-
You have the same ports. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Setting up a webhook for a single bot seems to work, but once I add another one I'm starting to get an error:
Error: listen EADDRINUSE: address already in use :::80
Here's how I'm settting up the TelegrafModule for each bot:
And here's how I'm listening to the webhooks in main.ts:
I've also tried using the same hook path for both bots, and got the same error. (/secret-path)
Beta Was this translation helpful? Give feedback.
All reactions