delete_webhook#
-
template<class Agent>
api_result<boolean_t, Agent&&> delete_webhook(Agent &&agent, delete_webhook_args_t args)# agent
is any object satisfying agent concept.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#