pub type DialogIter = IterBuffer<GetDialogs, Dialog>;Expand description
Iterator returned by Client::iter_dialogs.
Aliased Type§
pub struct DialogIter { /* private fields */ }Implementations§
Source§impl DialogIter
impl DialogIter
Sourcepub async fn total(&mut self) -> Result<usize, InvocationError>
pub async fn total(&mut self) -> Result<usize, InvocationError>
Determines how many dialogs there are in total.
This only performs a network call if next has not been called before.