pub struct ExternalReplyInfo {Show 18 fields
pub origin: MessageOrigin,
pub chat: Option<Chat>,
pub message_id: Option<i64>,
pub link_preview_options: Option<LinkPreviewOptions>,
pub animation: Option<Animation>,
pub audio: Option<Audio>,
pub document: Option<Document>,
pub photo: Option<Vec<PhotoSize>>,
pub sticker: Option<Sticker>,
pub video: Option<Video>,
pub video_note: Option<VideoNote>,
pub voice: Option<Voice>,
pub has_media_spoiler: Option<bool>,
pub contact: Option<Contact>,
pub dice: Option<Dice>,
pub location: Option<Location>,
pub venue: Option<Venue>,
pub poll: Option<Poll>,
}Expand description
Information about a message that is being replied to from outside the thread.
Fields§
§origin: MessageOriginOrigin of the message being replied to.
chat: Option<Chat>Chat the original message belongs to (if not the current chat).
message_id: Option<i64>Identifier of the original message in the original chat.
link_preview_options: Option<LinkPreviewOptions>Options for link preview.
animation: Option<Animation>Animation in the original message.
audio: Option<Audio>Audio in the original message.
document: Option<Document>Document in the original message.
photo: Option<Vec<PhotoSize>>Photo in the original message.
sticker: Option<Sticker>Sticker in the original message.
video: Option<Video>Video in the original message.
video_note: Option<VideoNote>Video note in the original message.
voice: Option<Voice>Voice note in the original message.
has_media_spoiler: Option<bool>true if the media is covered by a spoiler animation.
contact: Option<Contact>Contact in the original message.
dice: Option<Dice>Dice in the original message.
location: Option<Location>Location in the original message.
venue: Option<Venue>Venue in the original message.
poll: Option<Poll>Poll in the original message.
Trait Implementations§
Source§impl Clone for ExternalReplyInfo
impl Clone for ExternalReplyInfo
Source§fn clone(&self) -> ExternalReplyInfo
fn clone(&self) -> ExternalReplyInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalReplyInfo
impl Debug for ExternalReplyInfo
Source§impl<'de> Deserialize<'de> for ExternalReplyInfo
impl<'de> Deserialize<'de> for ExternalReplyInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExternalReplyInfo
impl RefUnwindSafe for ExternalReplyInfo
impl Send for ExternalReplyInfo
impl Sync for ExternalReplyInfo
impl Unpin for ExternalReplyInfo
impl UnsafeUnpin for ExternalReplyInfo
impl UnwindSafe for ExternalReplyInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more