delete_webhook¶
-
template<class Agent>
api_result<boolean_t, Agent&&> delete_webhook(Agent &&agent, delete_webhook_args_t args)¶
-
template<class Agent, class F>
void delete_webhook(Agent &&agent, delete_webhook_args_t args, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<boolean_t>.Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.
-
struct delete_webhook_args_t¶
Arguments that should be passed to
delete_webhook().-
optional_t<boolean_t> drop_pending_updates¶
Pass True to drop all pending updates
-
optional_t<boolean_t> drop_pending_updates¶