Enum telegram::schema::EncryptedChat []

pub enum EncryptedChat {
    encryptedChatEmpty {
        id: i32,
    },
    encryptedChatWaiting {
        id: i32,
        access_hash: i64,
        date: i32,
        admin_id: i32,
        participant_id: i32,
    },
    encryptedChatRequested {
        id: i32,
        access_hash: i64,
        date: i32,
        admin_id: i32,
        participant_id: i32,
        g_a: Vec<u8>,
    },
    encryptedChat {
        id: i32,
        access_hash: i64,
        date: i32,
        admin_id: i32,
        participant_id: i32,
        g_a_or_b: Vec<u8>,
        key_fingerprint: i64,
    },
    encryptedChatDiscarded {
        id: i32,
    },
}

Variants

Fields of encryptedChatEmpty

Fields of encryptedChatWaiting

Fields of encryptedChatRequested

Fields of encryptedChat

Fields of encryptedChatDiscarded

Trait Implementations

impl Debug for EncryptedChat
[src]

Formats the value using the given formatter.

impl Serialize for EncryptedChat

Serialize to the passed buffer.