asp.netasp.net-mvctelegram-bottelegram-webhook

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!


Solution

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

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

    Ref doc here.