pub struct MessageForwardedPost {
pub chat_id: i64,
pub author_signature: String,
pub date: i32,
pub message_id: i64,
pub forwarded_from_chat_id: i64,
pub forwarded_from_message_id: i64,
}Expand description
The message was originally a post in a channel
Fields§
§chat_id: i64Identifier of the chat from which the message was forwarded
Post author signature
date: i32Point in time (Unix timestamp) when the message was originally sent
message_id: i64Message identifier of the original message from which the new message was forwarded; 0 if unknown
forwarded_from_chat_id: i64For messages forwarded to the chat with the current user (saved messages), the identifier of the chat from which the message was forwarded; 0 if unknown
forwarded_from_message_id: i64For messages forwarded to the chat with the current user (saved messages), the identifier of the original message from which the new message was forwarded; 0 if unknown
Trait Implementations§
Source§impl Clone for MessageForwardedPost
impl Clone for MessageForwardedPost
Source§fn clone(&self) -> MessageForwardedPost
fn clone(&self) -> MessageForwardedPost
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 MessageForwardedPost
impl Debug for MessageForwardedPost
Source§impl<'de> Deserialize<'de> for MessageForwardedPost
impl<'de> Deserialize<'de> for MessageForwardedPost
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 MessageForwardedPost
impl RefUnwindSafe for MessageForwardedPost
impl Send for MessageForwardedPost
impl Sync for MessageForwardedPost
impl Unpin for MessageForwardedPost
impl UnwindSafe for MessageForwardedPost
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