Add docs for ExternalReplyInfo

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

View file

@ -6,9 +6,11 @@ use crate::types::{
Video, VideoNote, Voice,
};
/// This object contains information about a message that is being replied to,
/// which may come from another chat or forum topic.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExternalReplyInfo {
/// Origin of the message replied to by the given message
/// Origin of the message replied to by the given message.
pub origin: MessageOrigin,
/// Chat the original message belongs to. Available only if the chat is a
/// supergroup or a channel.