vaegram 0.2.0

Telegram MTProto client library for users and bots
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Why [`ClientEvent::UpdatesSkipped`](super::ClientEvent::UpdatesSkipped) happened.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[non_exhaustive]
pub enum SkipReason {
    /// Too many to fetch: Telegram jumped to its current state, for a channel along with its latest messages.
    TooLong,
    /// Telegram refused to send them, e.g. after the bot left the channel; the error came just before as
    /// `DifferenceFailed`.
    Refused,
    /// Fetching them kept failing.
    GaveUp,
}