pub struct Forward {
pub date: DateTime<Utc>,
pub from: ForwardedFrom,
pub signature: Option<String>,
pub message_id: Option<i32>,
}
Expand description
Information about forwarded message.
Fields§
§date: DateTime<Utc>
Date the original message was sent in Unix time.
from: ForwardedFrom
The entity that sent the original message.
signature: Option<String>
For messages forwarded from channels, signature of the post author if present. For messages forwarded from anonymous admins, authors title, if present.
message_id: Option<i32>
For messages forwarded from channels, identifier of the original message in the channel
Trait Implementations§
source§impl<'de> Deserialize<'de> for Forward
impl<'de> Deserialize<'de> for Forward
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Forward, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Forward, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Forward> for Forward
impl PartialEq<Forward> for Forward
source§impl Serialize for Forward
impl Serialize for Forward
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more