Reputation: 27
I create a bot in telegram and set webhook in my domain address. Now i want to change my domain bot i forget page of webhook in my website. Is there a way I can find my robot's webhook address?
my website create by asp.net mvc!
Upvotes: 1
Views: 2705
Reputation: 357
To be able to find your webhook address, you must use the following link
https://api.telegram.org/botYourToken/getWebhookInfo
just replace token Instead "YourToken"
Upvotes: 1
Reputation: 4247
https://core.telegram.org/bots/api#getwebhookinfo
You could try the getWebhookInfo
method. It returns the URL along with other information.
Upvotes: 2