Darren Ong
Darren Ong
Hi, the message_id is unique to each message in Telegram. You can retrieve it from the callback event after a user has typed the text. ``` // For example: If...
Just checking, did you set up a web server (express, etc) which will act as the webhook endpoint?
@sidelux Anyway, was replying to @mrdimaan in case you were responding to my message. Our replies were seconds apart haha. I have similar configuration as well btw.
@mrdimaan Most port numbers are good. Port 25000, 25001 or 25002 as what @sidelux mentioned are fine.
It will only send to the url that you defined in bot.setWebHook(serverURL). So for example if your url is serverURL = 'localhost:25000/bot', then it will only send to that url...
Have you gotten a valid SSL certificate? If not, you can use Let's Encrypt to generate one for free.