Open azickri opened 7 months ago
Bug Report
I have read:
I am using the latest version of the library.
I want to setup Webhook URLs directly using the API
I have tried to set Webhook via Telegram API directly with API as follows
https://api.telegram.org/{token}/setWebhook?url={webhookURL}
When I retrieve information about the Webhook with the API as follows
https://api.telegram.org/{token}/getWebhookInfo
The first time you retrieve information quickly after setting it up it matches the webhookURL you set, after a few seconds it returns to blank.
{ "ok": true, "result": { "url": "", "has_custom_certificate": false, "pending_update_count": 0 } }
I am facing this exact same issue too. I am able to setWebhook and I can see the url from getWebhookInfo. But after a short while, calling this getWebhookInfo will return an empty string in url. Please advise.
getWebhookInfo
url
I have read:
I am using the latest version of the library.
Expected Behavior
I want to setup Webhook URLs directly using the API
Actual Behavior
I have tried to set Webhook via Telegram API directly with API as follows
https://api.telegram.org/{token}/setWebhook?url={webhookURL}
When I retrieve information about the Webhook with the API as follows
https://api.telegram.org/{token}/getWebhookInfo
The first time you retrieve information quickly after setting it up it matches the webhookURL you set, after a few seconds it returns to blank.
Steps to reproduce the Behavior