According to researches by the adsmember team
इस वीडियो में हम देखते हैं कि nginx और Google Cloud Platform का उपयोग करके अजगर में टेलीग्राम बॉट कैसे बनाया जाता है। अपडेट करें! पुस्तकालय में परिवर्तन हुआ था, इसलिए कृपया वेबहुक के लिए निम्नलिखित का उपयोग करें: def tbot(): updater = Updater(TOKEN, use_context=True) dp = updater.dispatcher dp.add_handler(CommandHandler(“help”, htel)) dp.add_handler(MessageHandler(Filters.text, echo)) updater.start_webhook(सुनो = “0.0.0.0”, पोर्ट = 5000, url_path=TOKEN, webhook_url=f’ cert=CERT) updater.idle() आप देख सकते हैं यहाँ परिवर्तन:

मध्यम लेख: jasonjurotich/हाउ-टू-क्रिएट-ए-सिंपल-टेलीग्राम-बॉट-इन-पायथन-यूजिंग-nginx-and-gcp-926f1b0fb16f

source

Rate us
0 0 votes
Article Rating
Subscribe
Notify of
guest
7 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
99 bits
99 bits
1 month ago

Hello, thank you for this awesome tutorial. I followed it till the end and I get this error in WebhookInfo log:

"last_error_message":"SSL error {error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed}"

From a google search I see that full chained certificate must be set up in nginx. You also mentioned let's encrypt in your medium article that it requires me to purchase a domain? Is there a work around for this method? Thank you again

piyush gupta
piyush gupta
1 month ago

how can i see and download the channel content using telegram and google collabatory,, please make a video

jayant
jayant
1 month ago

how to deploy userbot telegram

Alex M
Alex M
1 month ago

Work! Thanks!

Alexey Volkov
Alexey Volkov
1 month ago

Works just fine for me. Thanks!

Gilad Fuchs
Gilad Fuchs
1 month ago

hi this isn't work for me .. I follow all your step.. I think the problem it's come from the webhook but I have no idea how to slove it.

Alexey
Alexey
1 month ago

Hey. Thank you for the video. I correctly understood that with NGINX you can start a server not only in PHP, but also in languages ​​such as python, java, javascript?

7
0
Would love your thoughts, please comment.x
()
x