ferrisgram 0.1.5

An elegent rust client for the Telegram Bot API.
Documentation
// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!

use crate::types::Animation;

impl Animation {
    /// This function creates an empty struct for the object Animation.
    pub fn new() -> Self {
        Self {
            file_id: "".to_string(),
            file_unique_id: "".to_string(),
            width: 0,
            height: 0,
            duration: 0,
            thumb: None,
            file_name: None,
            mime_type: None,
            file_size: None,
        }
    }
}
impl Default for Animation {
    fn default() -> Self {
        Self::new()
    }
}