Enum telegram::schema::Photo []

pub enum Photo {
    photoEmpty {
        id: i64,
    },
    photo {
        id: i64,
        access_hash: i64,
        user_id: i32,
        date: i32,
        caption: String,
        geo: GeoPoint,
        sizes: Vec<PhotoSize>,
    },
}

Variants

Fields of photoEmpty

Fields of photo

Trait Implementations

impl Debug for Photo
[src]

Formats the value using the given formatter.

impl Serialize for Photo

Serialize to the passed buffer.