Trait teloxide_core::payloads::GetUpdatesSetters
source · pub trait GetUpdatesSetters: HasPayload<Payload = GetUpdates> + Sized {
// Provided methods
fn offset(self, value: i32) -> Self { ... }
fn limit(self, value: u8) -> Self { ... }
fn timeout(self, value: u32) -> Self { ... }
fn allowed_updates<T>(self, value: T) -> Self
where T: IntoIterator<Item = AllowedUpdate> { ... }
}
Expand description
Setters for fields of GetUpdates
Provided Methods§
sourcefn allowed_updates<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = AllowedUpdate>,
fn allowed_updates<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = AllowedUpdate>,
Setter for allowed_updates
field.