Function teloxide::update_listeners::polling_default
source · pub async fn polling_default<R>(bot: R) -> Polling<R>where
R: Requester + Send + 'static,
<R as Requester>::GetUpdates: Send,
Expand description
Returns a long polling update listener with timeout
of 10 seconds.
See also: Polling::builder
.
Notes
This function will automatically delete a webhook if it was set up.