powered by
Use this method to get current webhook status. Requires no parameters.
getWebhookInfo()
If the bot is using getUpdates, will return an object with the url field empty.
getUpdates
You can also use it's snake_case equivalent get_webhook_info.
get_webhook_info