Struct actix_telegram::types::Animation[][src]

pub struct Animation {
    pub file_id: String,
    pub width: Integer,
    pub height: Integer,
    pub duration: Integer,
    pub thumb: Option<PhotoSize>,
    pub file_name: Option<String>,
    pub mime_type: Option<String>,
    pub file_size: Option<Integer>,
}

This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).

Fields

Unique file identifier

Video width as defined by sender

Video height as defined by sender

Duration of the video in seconds as defined by sender

Animation thumbnail as defined by sender

Original animation filename as defined by sender

MIME type of the file as defined by sender

File size

Trait Implementations

impl Debug for Animation
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Animation

impl Sync for Animation