This commit is contained in:
Maybe Waffle 2022-06-27 03:32:57 +04:00
parent 79f6cf4ee9
commit ee52bb28b4

View file

@ -22,6 +22,8 @@ use crate::{
}; };
/// Builder for polling update listener. /// Builder for polling update listener.
///
/// Can be created by [`Polling::builder`].
pub struct PollingBuilder<R> { pub struct PollingBuilder<R> {
bot: R, bot: R,
timeout: Option<Duration>, timeout: Option<Duration>,
@ -101,7 +103,7 @@ where
/// Returns a long polling update listener with `timeout` of 10 seconds. /// Returns a long polling update listener with `timeout` of 10 seconds.
/// ///
/// See also: [`polling_builder`]. /// See also: [`Polling::builder`].
/// ///
/// ## Notes /// ## Notes
/// ///