vaegram 0.3.0

Telegram MTProto client library for users and bots
Documentation
/// How a unique gift reached its current owner.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[non_exhaustive]
pub enum UniqueGiftOrigin {
    /// The owner upgraded a regular gift.
    Upgrade,
    /// The gift was upgraded with an upgrade its sender prepaid.
    GiftedUpgrade,
    /// The gift was transferred from its previous owner.
    Transfer,
    /// The owner bought it on the resale market.
    Resale,
    /// The owner bought it with a purchase offer that the previous owner accepted.
    Offer,
    /// The owner crafted it.
    Craft,
    /// The gift was assigned from the blockchain.
    Blockchain,
}