pub trait UpdateStreamExt {
// Required method
fn update_stream(&self) -> UpdateStreamBuilder;
}Expand description
Adds update_stream to Bot.
Required Methods§
Sourcefn update_stream(&self) -> UpdateStreamBuilder
fn update_stream(&self) -> UpdateStreamBuilder
Configures a stream backed by long polling, with a 10-second polling timeout by default.
Do not run another polling consumer for the same bot concurrently.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".