Add docs for MaybeInaccessibleMessage

This commit is contained in:
Сырцев Вадим Игоревич 2024-07-31 15:36:00 +03:00 committed by Andrey Brusnik
parent 96d7c8e022
commit a353439e3b
No known key found for this signature in database
GPG key ID: D33232F28CFF442C

View file

@ -2,6 +2,10 @@ use serde::{Deserialize, Serialize};
use crate::types::{Chat, InaccessibleMessage, Message, MessageId};
/// This object describes a message that can be inaccessible to the bot. It can
/// be one of:
/// - [Message]
/// - [InaccessibleMessage]
#[derive(Clone, Debug, PartialEq, Serialize)]
#[serde(untagged)]
pub enum MaybeInaccessibleMessage {