-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string webhookUrl(getenv("WEBHOOK_URL")); #284
Comments
This have to be an address of your server: |
Thank you! So, i did not fully understand everything that is written on the telegram website, but tired to do As far as I understand, we should not make certificates when we use this tgbot-cpp library, and |
No, providing correct details to Telegram (your certificate in this case) is responsibility on your side, library cannot do this instead of you. In this case you have two options:
|
Thanks for answer! Actually it seems that webhooks will not add much to the speed of the server, polling works well. Please tell me, how can i make the url-requests in an asynchronous way? So that my server is not blocked while waiting for a response and can process requests from several users at the same time |
Hi! please help me to use this method: what may i insert unstead of WEBHOOK_URL?
i tried "https://api.telegram.org/", "https://api.telegram.org" - that does not works :( my bot just keeps silence. Thanks !
The text was updated successfully, but these errors were encountered: