conogram 0.2.19

An async wrapper for Telegram Bot API
Documentation
use serde::{Deserialize, Serialize};

use crate::entities::chat::Chat;

/// This object describes a message that was deleted or is otherwise inaccessible to the bot.
///
/// API Reference: [link](https://core.telegram.org/bots/api/#inaccessiblemessage)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct InaccessibleMessage {
    /// Chat the message belonged to
    pub chat: Box<Chat>,

    /// Unique message identifier inside the chat
    pub message_id: i64,

    /// Always 0. The field can be used to differentiate regular and inaccessible messages.
    pub date: i64,
}

// Divider: all content below this line will be preserved after code regen