jafar
jafar

Reputation: 27

how to i can to find webhook address in my telegram bot?

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

Answers (2)

Aref Solaimany
Aref Solaimany

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

ADW
ADW

Reputation: 4247

https://core.telegram.org/bots/api#getwebhookinfo

You could try the getWebhookInfo method. It returns the URL along with other information.

Ref doc here.

Upvotes: 2

Related Questions