mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add docs for ExternalReplyInfo
This commit is contained in:
parent
65435ec430
commit
565316aa7d
1 changed files with 3 additions and 1 deletions
|
@ -6,9 +6,11 @@ use crate::types::{
|
||||||
Video, VideoNote, Voice,
|
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)]
|
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct ExternalReplyInfo {
|
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,
|
pub origin: MessageOrigin,
|
||||||
/// Chat the original message belongs to. Available only if the chat is a
|
/// Chat the original message belongs to. Available only if the chat is a
|
||||||
/// supergroup or a channel.
|
/// supergroup or a channel.
|
||||||
|
|
Loading…
Reference in a new issue