diff --git a/src/dispatching/update_listeners/polling.rs b/src/dispatching/update_listeners/polling.rs index c41eeabe..3eeba061 100644 --- a/src/dispatching/update_listeners/polling.rs +++ b/src/dispatching/update_listeners/polling.rs @@ -22,6 +22,8 @@ use crate::{ }; /// Builder for polling update listener. +/// +/// Can be created by [`Polling::builder`]. pub struct PollingBuilder { bot: R, timeout: Option, @@ -101,7 +103,7 @@ where /// Returns a long polling update listener with `timeout` of 10 seconds. /// -/// See also: [`polling_builder`]. +/// See also: [`Polling::builder`]. /// /// ## Notes ///