Telegram Bot API

Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty.

post/getWebhookInfo

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/getWebhookInfo
  • Auth: none declared

Response

Telegram API response

oktrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.