mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-22 06:45:37 +01:00
parent
cce0710c8c
commit
4e5e7a145d
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