vaegram 0.2.0

Telegram MTProto client library for users and bots
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// What happened to a user's Star subscription to a bot.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[non_exhaustive]
pub enum SubscriptionState {
    /// The user canceled the subscription.
    Canceled,
    /// The subscription is active again after being canceled.
    Active,
    /// The renewal payment failed.
    Failed,
}