mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
Add docs for MaybeInaccessibleMessage
This commit is contained in:
parent
96d7c8e022
commit
a353439e3b
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue