get_webhook_info¶
-
template<class Agent>
api_result<webhook_info_t, Agent&&> get_webhook_info(Agent &&agent)¶
-
template<class Agent, class F>
void get_webhook_info(Agent &&agent, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<webhook_info_t>.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.