Answer the question
In order to leave comments, you need to log in
SSL for telegram bot not working?
Hello.
Began to configure webhook.
For a start made ssl. I have a vesatcp panel on server1, I did everything through it. Everything is working.
Check webhook via curl curl -d "url= https://telegram.domain.ru/handler.php " https://api.telegram.org/bottoken/setWebhook
In response I get: {"ok":true ,"result":true,"description":"Webhook is already set"}
Everything works as I understand it.
The php code itself. I took it from here https://habrahabr.ru/company/cleantalk/blog/302870/
But nothing works, what is the reason?
If the webhook is connected, but there is no response from the server(
Answer the question
In order to leave comments, you need to log in
https://api.telegram.org/bottoken/setWebhook?url=h...
Did you set it like that?
UPD
https://github.com/mgp25/Telegram-Bot-API recommend using this "library"
The same garbage, worked for half a year, then stopped.
And the token changed and the hook, nothing.
The code writes a 64-bit number byte-by-byte into an 8-byte bytearray.
The author of this (tricycle) probably didn't read the Python reference until Chapter 7, which describes the struct module , which does just that.
Because of such bicycles (with cycles for writing a single number), legends are born that Python is a slow language.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question