pub struct MessageReplyToMessage {
pub chat_id: i64,
pub message_id: i64,
pub quote: Option<TextQuote>,
pub origin: Option<MessageOrigin>,
pub origin_send_date: i32,
pub content: Option<MessageContent>,
}
Expand description
Describes a message replied by a given message
Fields§
§chat_id: i64
The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat
message_id: i64
The identifier of the message; may be 0 if the replied message is in unknown chat
quote: Option<TextQuote>
Chosen quote from the replied message; may be null if none
origin: Option<MessageOrigin>
Information about origin of the message if the message was from another chat or topic; may be null for messages from the same chat
origin_send_date: i32
Point in time (Unix timestamp) when the message was sent if the message was from another chat or topic; 0 for messages from the same chat
content: Option<MessageContent>
Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media. Can be only one of the following types: messageAnimation, messageAudio, messageContact, messageDice, messageDocument, messageGame, messageInvoice, messageLocation, messagePhoto, messagePoll, messagePremiumGiveaway, messagePremiumGiveawayWinners, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote
Trait Implementations§
Source§impl Clone for MessageReplyToMessage
impl Clone for MessageReplyToMessage
Source§fn clone(&self) -> MessageReplyToMessage
fn clone(&self) -> MessageReplyToMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more