ferrisgram 0.2.1

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

#![allow(clippy::too_many_arguments, clippy::new_without_default)]
use crate::types::Chat;
use crate::types::MessageReactionUpdated;
use crate::types::ReactionType;

impl MessageReactionUpdated {
    /// This function creates an empty struct for the object MessageReactionUpdated.
    pub fn new(
        chat: Chat,
        message_id: i64,
        date: i64,
        old_reaction: Vec<ReactionType>,
        new_reaction: Vec<ReactionType>,
    ) -> Self {
        Self {
            chat,
            message_id,
            user: None,
            actor_chat: None,
            date,
            old_reaction,
            new_reaction,
        }
    }
}