getWebhookInfo: Get current webhook status

View source: R/bot.R

getWebhookInfoR Documentation

Get current webhook status

Description

Use this method to get current webhook status. Requires no parameters.

Usage

getWebhookInfo()

Details

If the bot is using getUpdates, will return an object with the url field empty.

You can also use it's snake_case equivalent get_webhook_info.


telegram.bot documentation built on Sept. 7, 2022, 5:07 p.m.