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::ChatInviteLink;
use crate::types::User;

impl ChatInviteLink {
    /// This function creates an empty struct for the object ChatInviteLink.
    pub fn new() -> Self {
        Self {
            invite_link: "".to_string(),
            creator: User::new(),
            creates_join_request: false,
            is_primary: false,
            is_revoked: false,
            name: None,
            expire_date: None,
            member_limit: None,
            pending_join_request_count: None,
        }
    }
}
impl Default for ChatInviteLink {
    fn default() -> Self {
        Self::new()
    }
}