Enum telegram::schema::EncryptedMessage []

pub enum EncryptedMessage {
    encryptedMessage {
        random_id: i64,
        chat_id: i32,
        date: i32,
        bytes: Vec<u8>,
        file: EncryptedFile,
    },
    encryptedMessageService {
        random_id: i64,
        chat_id: i32,
        date: i32,
        bytes: Vec<u8>,
    },
}

Variants

Fields of encryptedMessage

Fields of encryptedMessageService

Trait Implementations

impl Debug for EncryptedMessage
[src]

Formats the value using the given formatter.

impl Serialize for EncryptedMessage

Serialize to the passed buffer.