Open azickri opened 2 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 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