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
file_id: String
Unique file identifier
width: Integer
Video width as defined by sender
height: Integer
Video height as defined by sender
duration: Integer
Duration of the video in seconds as defined by sender
thumb: Option<PhotoSize>
Animation thumbnail as defined by sender
file_name: Option<String>
Original animation filename as defined by sender
mime_type: Option<String>
MIME type of the file as defined by sender
file_size: Option<Integer>
File size