telebot icon indicating copy to clipboard operation
telebot copied to clipboard

How to set webhook ?

Open ransomsumit opened this issue 3 years ago • 9 comments

I want to host the bot on heroku whose app_url is set as webhook. But i don't see anything that can tell me how i can configure telebot to work with express.

There was a bot.processupdates feature in python i don't see it here? How to use this?

ransomsumit avatar Jan 22 '22 09:01 ransomsumit

Hi can i fix this issues?

gayatrisingh31 avatar Jan 26 '22 11:01 gayatrisingh31

I wish i knew. If you want you can set up the bot as a worker. Follow this Repo

ransomsumit avatar Jan 26 '22 12:01 ransomsumit

Hi @ransomsumit could you tell me where you want to add webhook, cuz i know how to add webhook in jenkins and github can u brief me ?

gayatrisingh31 avatar Jan 26 '22 12:01 gayatrisingh31

@gayatrisingh31 webhook is set to my heroku webapp, there is no issue on that front. I just need some kind of bot function that can process the updates sent to my webapp via telegram. It might not be available here.

ransomsumit avatar Jan 26 '22 12:01 ransomsumit

Hi @ransomsumit hey no worries about that i got a solution of this problem, you have to need some commands add on your index.js files

gayatrisingh31 avatar Jan 26 '22 12:01 gayatrisingh31

Hi @ransomsumit could you merge my PR request.

gayatrisingh31 avatar Jan 27 '22 06:01 gayatrisingh31

@gayatrisingh31 I am not the contributor here.

ransomsumit avatar Jan 27 '22 06:01 ransomsumit

then who is contributor ?

gayatrisingh31 avatar Jan 27 '22 06:01 gayatrisingh31

Hi @mullwar could you merge my PR request.

gayatrisingh31 avatar Jan 27 '22 06:01 gayatrisingh31