deleteWebhook method

Future<bool> deleteWebhook({
  1. bool? dropPendingUpdates,
})
inherited

Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success.

Implementation

Future<bool> deleteWebhook({bool? dropPendingUpdates}) {
  return _client.apiCall(_token, 'deleteWebhook', {
    'drop_pending_updates': dropPendingUpdates,
  });
}