mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-20 13:59:00 +01:00
Fix docs
This commit is contained in:
parent
79f6cf4ee9
commit
ee52bb28b4
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Reference in a new issue